Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Fix all block entities being updated as Skulls
Dieser Commit ist enthalten in:
Ursprung
c52b3b61c7
Commit
6880507469
@ -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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren