Fix all block entities being updated as Skulls

This commit is contained in:
rtm516 2020-04-18 17:50:14 +01:00
parent c52b3b61c7
commit 6880507469

View file

@ -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) {