3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-20 06:50:09 +01:00

Block changes work (again)

Dieser Commit ist enthalten in:
EOT3000 2019-09-14 11:33:58 -04:00
Ursprung 77c8acefdb
Commit 074442aac9

Datei anzeigen

@ -19,7 +19,7 @@ public class JavaBlockChangeTranslator extends PacketTranslator<ServerBlockChang
BedrockItem i = new ItemTranslator().getBedrockBlock(record.getBlock()); BedrockItem i = new ItemTranslator().getBedrockBlock(record.getBlock());
pack.setDataLayer(0); pack.setDataLayer(0);
pack.setRuntimeId(i.getId() >> 4 | i.getData()); pack.setRuntimeId(i.getId() << 4 | i.getData());
pack.setBlockPosition(new Vector3i( pack.setBlockPosition(new Vector3i(
record.getPosition().getX() record.getPosition().getX()
, record.getPosition().getY() , record.getPosition().getY()