From 6880507469db7a79541810769037f05c626bd1b8 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Sat, 18 Apr 2020 17:50:14 +0100 Subject: [PATCH] Fix all block entities being updated as Skulls --- .../connector/network/translators/block/BlockTranslator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/block/BlockTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/block/BlockTranslator.java index 2a6b3c98d..d48b9a308 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/block/BlockTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/block/BlockTranslator.java @@ -285,14 +285,14 @@ public class BlockTranslator { if (SKULL_VARIANTS.containsKey(state)) { return SKULL_VARIANTS.getByte(state); } - return 0; + return -1; } public static byte getSkullRotation(BlockState state) { if (SKULL_ROTATIONS.containsKey(state)) { return SKULL_ROTATIONS.getByte(state); } - return 0; + return -1; } public static BlockState getJavaWaterloggedState(int bedrockId) {