Merge pull request #649 from CocoTheOwner/fixes

fixes
This commit is contained in:
Dan 2021-09-22 06:37:51 -04:00 committed by GitHub
commit d2f8e62ecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -327,7 +327,7 @@ public class CommandStudio implements DecreeExecutor {
engine().getExecution().execute(script.getLoadKey()); engine().getExecution().execute(script.getLoadKey());
} }
@Decree(description = "Open the noise explorer (External GUI)", aliases = "nmap") @Decree(description = "Open the noise explorer (External GUI)", aliases = {"nmap", "n"})
public void noise() { public void noise() {
if (noGUI()) return; if (noGUI()) return;
sender().sendMessage(C.GREEN + "Opening Noise Explorer!"); sender().sendMessage(C.GREEN + "Opening Noise Explorer!");

View File

@ -39,7 +39,7 @@ import org.bukkit.block.data.BlockData;
import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicInteger;
@Decree(name = "what", origin = DecreeOrigin.PLAYER, studio = true, description = "Iris What?") @Decree(name = "what", origin = DecreeOrigin.PLAYER, studio = true, description = "Iris What?", aliases = "w")
public class CommandWhat implements DecreeExecutor { public class CommandWhat implements DecreeExecutor {
@Decree(description = "What is in my hand?", origin = DecreeOrigin.PLAYER) @Decree(description = "What is in my hand?", origin = DecreeOrigin.PLAYER)
public void hand() { public void hand() {
@ -62,7 +62,7 @@ public class CommandWhat implements DecreeExecutor {
} }
} }
@Decree(description = "What biome am i in?", origin = DecreeOrigin.PLAYER) @Decree(description = "What biome am i in?", origin = DecreeOrigin.PLAYER, aliases = "b")
public void biome() { public void biome() {
try { try {
IrisBiome b = engine().getBiome(player().getLocation().getBlockX(), player().getLocation().getBlockY(), player().getLocation().getBlockZ()); IrisBiome b = engine().getBiome(player().getLocation().getBlockX(), player().getLocation().getBlockY(), player().getLocation().getBlockZ());