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:
Ursprung
77c8acefdb
Commit
074442aac9
@ -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()
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren