unsigned byte

This commit is contained in:
creeper123123321 2020-04-13 14:01:28 -03:00 committed by GitHub
parent ae7fcbc8ad
commit a0e3d70a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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