mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Remove unnecessary default fallback in skull block entity translator
This commit is contained in:
parent
0bec664be0
commit
710bbf2abe
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ public class SkullBlockEntityTranslator extends BlockEntityTranslator implements
|
||||||
bedrockNbt.putFloat("Rotation", rotation * 22.5f);
|
bedrockNbt.putFloat("Rotation", rotation * 22.5f);
|
||||||
}
|
}
|
||||||
bedrockNbt.putByte("SkullType", (byte) (blockState.block() instanceof SkullBlock skull ? skull.skullType().bedrockId() : 0));
|
bedrockNbt.putByte("SkullType", (byte) (blockState.block() instanceof SkullBlock skull ? skull.skullType().bedrockId() : 0));
|
||||||
if (blockState.getValue(Properties.POWERED, false)) {
|
if (blockState.getValue(Properties.POWERED)) {
|
||||||
bedrockNbt.putBoolean("MouthMoving", true);
|
bedrockNbt.putBoolean("MouthMoving", true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue