This commit is contained in:
CocoTheOwner 2021-09-21 17:31:58 +02:00
parent 02f357a88d
commit 8539bc5ade

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());