diff options
-rw-r--r-- | src/main/java/de/torui/coflsky/handlers/DescriptionHandler.java | 5 | ||||
-rw-r--r-- | src/main/java/de/torui/coflsky/network/QueryServerCommands.java | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/torui/coflsky/handlers/DescriptionHandler.java b/src/main/java/de/torui/coflsky/handlers/DescriptionHandler.java index 34d89ad..8fb70f9 100644 --- a/src/main/java/de/torui/coflsky/handlers/DescriptionHandler.java +++ b/src/main/java/de/torui/coflsky/handlers/DescriptionHandler.java @@ -131,8 +131,9 @@ public class DescriptionHandler { private static void loadDescriptionForInventory(GuiOpenEvent event, GuiContainer gc, boolean skipLoadCheck) { InventoryWrapper wrapper = new InventoryWrapper(); - if (event.gui instanceof GuiChest && !skipLoadCheck){ - waitForChestContentLoad(event, gc); + if (event.gui instanceof GuiChest) { + if(!skipLoadCheck) + waitForChestContentLoad(event, gc); ContainerChest chest = (ContainerChest) ((GuiChest) event.gui).inventorySlots; IInventory inv = chest.getLowerChestInventory(); diff --git a/src/main/java/de/torui/coflsky/network/QueryServerCommands.java b/src/main/java/de/torui/coflsky/network/QueryServerCommands.java index 67f8f2a..42b9f2a 100644 --- a/src/main/java/de/torui/coflsky/network/QueryServerCommands.java +++ b/src/main/java/de/torui/coflsky/network/QueryServerCommands.java @@ -132,7 +132,6 @@ public class QueryServerCommands { // StandardCharsets.UTF_8.name() > JDK 7 String resString = result.toString("UTF-8"); - System.out.println("Result= " + resString); return resString; } catch (IOException e) { // TODO Auto-generated catch block |