mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fix all block entities being updated as Skulls
This commit is contained in:
parent
c52b3b61c7
commit
6880507469
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