mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-23 02:25:19 +01:00
unsigned byte
This commit is contained in:
parent
ae7fcbc8ad
commit
a0e3d70a3f
@ -292,7 +292,7 @@ public class WorldPackets {
|
||||
// First set this packet ID to Block placement
|
||||
wrapper.setId(0x08);
|
||||
wrapper.write(Type.POSITION, new Position((long) -1, (long) -1, (long) -1));
|
||||
wrapper.write(Type.BYTE, (byte) 255);
|
||||
wrapper.write(Type.UNSIGNED_BYTE, (byte) 255);
|
||||
// Write item in hand
|
||||
Item item = Protocol1_9To1_8.getHandItem(wrapper.user());
|
||||
// Blocking patch
|
||||
|
Loading…
Reference in New Issue
Block a user