aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorÄkwav <ekwav@coflnet.com>2022-10-11 22:43:16 +0200
committerÄkwav <ekwav@coflnet.com>2022-10-11 22:43:16 +0200
commit050d8da158b6bac386d7bfa43871938afc4d0dca (patch)
treee8d874468ebb29d4179496271bad844ed1a1f270 /src
parent42ff9abd7a9ccb993a116fceb3e00b4eb0e5b878 (diff)
downloadCOFL-050d8da158b6bac386d7bfa43871938afc4d0dca.tar.gz
COFL-050d8da158b6bac386d7bfa43871938afc4d0dca.tar.bz2
COFL-050d8da158b6bac386d7bfa43871938afc4d0dca.zip
fix chestname missing from updates
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/torui/coflsky/handlers/DescriptionHandler.java5
-rw-r--r--src/main/java/de/torui/coflsky/network/QueryServerCommands.java1
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