Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
Merge pull request #373 from rtm516/block-entity-fix
Fix all block entities being updated as Skulls
Dieser Commit ist enthalten in:
Commit
3f8d5cc1c5
@ -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