diff --git a/src/main/java/me/zeroeightsix/kami/command/Command.java b/src/main/java/me/zeroeightsix/kami/command/Command.java index 2af3fd06..5e0dcd6d 100644 --- a/src/main/java/me/zeroeightsix/kami/command/Command.java +++ b/src/main/java/me/zeroeightsix/kami/command/Command.java @@ -56,16 +56,12 @@ public abstract class Command { if (isSendable()) { Wrapper.getPlayer().sendMessage(new ChatMessage(message)); } else { - LogWrapper.info("KAMI Blue: Avoided NPE by logging to file instead of chat\n" + message); + LogWrapper.info(message); } } public static boolean isSendable() { - if (Minecraft.getMinecraft().player == null) { - return false; - } else { - return true; - } + return Minecraft.getMinecraft().player != null; } protected void setDescription(String description) {