mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Block changes work (again)
This commit is contained in:
parent
77c8acefdb
commit
074442aac9
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public class JavaBlockChangeTranslator extends PacketTranslator<ServerBlockChang
|
|||
BedrockItem i = new ItemTranslator().getBedrockBlock(record.getBlock());
|
||||
|
||||
pack.setDataLayer(0);
|
||||
pack.setRuntimeId(i.getId() >> 4 | i.getData());
|
||||
pack.setRuntimeId(i.getId() << 4 | i.getData());
|
||||
pack.setBlockPosition(new Vector3i(
|
||||
record.getPosition().getX()
|
||||
, record.getPosition().getY()
|
||||
|
|
Loading…
Reference in a new issue