mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-28 19:29:14 +00:00
Block changes work (again)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user