diff --git a/src/main/java/com/volmit/iris/command/CommandIrisWhatBlock.java b/src/main/java/com/volmit/iris/command/CommandIrisWhatBlock.java index 7eb6b587b..2737d64b6 100644 --- a/src/main/java/com/volmit/iris/command/CommandIrisWhatBlock.java +++ b/src/main/java/com/volmit/iris/command/CommandIrisWhatBlock.java @@ -39,47 +39,37 @@ public class CommandIrisWhatBlock extends MortarCommand bd = null; } - if(bd != null) - { + if(bd != null) { sender.sendMessage("Material: " + C.GREEN + bd.getMaterial().name()); sender.sendMessage("Full: " + C.WHITE + bd.getAsString(true)); - if(B.isStorage(FastBlockData.of(bd))) - { + if (B.isStorage(FastBlockData.of(bd))) { sender.sendMessage(C.YELLOW + "* Storage Block (Loot Capable)"); } - if(B.isLit(FastBlockData.of(bd))) - { + if (B.isLit(FastBlockData.of(bd))) { sender.sendMessage(C.YELLOW + "* Lit Block (Light Capable)"); } - if(B.isFoliage(FastBlockData.of(bd))) - { + if (B.isFoliage(FastBlockData.of(bd))) { sender.sendMessage(C.YELLOW + "* Foliage Block"); } - if(B.isDecorant(FastBlockData.of(bd))) - { + if (B.isDecorant(FastBlockData.of(bd))) { sender.sendMessage(C.YELLOW + "* Decorant Block"); } - if(B.isFluid(FastBlockData.of(bd))) - { + if (B.isFluid(FastBlockData.of(bd))) { sender.sendMessage(C.YELLOW + "* Fluid Block"); } - if(B.isFoliagePlantable(FastBlockData.of(bd))) - { + if (B.isFoliagePlantable(FastBlockData.of(bd))) { sender.sendMessage(C.YELLOW + "* Plantable Foliage Block"); } - if(B.isSolid(FastBlockData.of(bd))) - { + if (B.isSolid(FastBlockData.of(bd))) { sender.sendMessage(C.YELLOW + "* Solid Block"); } - } else { - sender.sendMessage("Please look at any block, not at the sky"); } }