From 545dfa38f0db781fc6199ee9a8efcccb1815b1f4 Mon Sep 17 00:00:00 2001 From: DoctorMacc Date: Mon, 6 Jul 2020 16:22:07 -0400 Subject: [PATCH] JavaUpdateTileEntityTranslator improvements - Remove the use of deprecated functions - Check for empty NBT (fixes errors on CubeCraft) --- .../java/world/JavaUpdateTileEntityTranslator.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaUpdateTileEntityTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaUpdateTileEntityTranslator.java index 822be8c89..ae4ed7792 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaUpdateTileEntityTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaUpdateTileEntityTranslator.java @@ -40,12 +40,17 @@ public class JavaUpdateTileEntityTranslator extends PacketTranslator