mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-26 16:42:25 +01:00
position fix
This commit is contained in:
parent
99abe3994c
commit
a91c72fb44
@ -291,7 +291,7 @@ public class WorldPackets {
|
|||||||
wrapper.clearInputBuffer();
|
wrapper.clearInputBuffer();
|
||||||
// First set this packet ID to Block placement
|
// First set this packet ID to Block placement
|
||||||
wrapper.setId(0x08);
|
wrapper.setId(0x08);
|
||||||
wrapper.write(Type.POSITION, new Position((long) -1, (long) -1, (long) -1));
|
wrapper.write(Type.POSITION, new Position(-1, (short) -1, -1));
|
||||||
wrapper.write(Type.UNSIGNED_BYTE, (short) 255);
|
wrapper.write(Type.UNSIGNED_BYTE, (short) 255);
|
||||||
// Write item in hand
|
// Write item in hand
|
||||||
Item item = Protocol1_9To1_8.getHandItem(wrapper.user());
|
Item item = Protocol1_9To1_8.getHandItem(wrapper.user());
|
||||||
|
Loading…
Reference in New Issue
Block a user