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
commit 3f8d5cc1c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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