1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-24 01:09:30 +00:00

Merge pull request #373 from rtm516/block-entity-fix

Fix all block entities being updated as Skulls
This commit is contained in:
Redned
2020-04-18 14:06:21 -05:00
committed by GitHub

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