forked from GeyserMC/Geyser
Merge pull request #373 from rtm516/block-entity-fix
Fix all block entities being updated as Skulls
This commit is contained in:
commit
3f8d5cc1c5
1 changed files with 2 additions and 2 deletions
|
@ -285,14 +285,14 @@ public class BlockTranslator {
|
||||||
if (SKULL_VARIANTS.containsKey(state)) {
|
if (SKULL_VARIANTS.containsKey(state)) {
|
||||||
return SKULL_VARIANTS.getByte(state);
|
return SKULL_VARIANTS.getByte(state);
|
||||||
}
|
}
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static byte getSkullRotation(BlockState state) {
|
public static byte getSkullRotation(BlockState state) {
|
||||||
if (SKULL_ROTATIONS.containsKey(state)) {
|
if (SKULL_ROTATIONS.containsKey(state)) {
|
||||||
return SKULL_ROTATIONS.getByte(state);
|
return SKULL_ROTATIONS.getByte(state);
|
||||||
}
|
}
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BlockState getJavaWaterloggedState(int bedrockId) {
|
public static BlockState getJavaWaterloggedState(int bedrockId) {
|
||||||
|
|
Loading…
Reference in a new issue