From a0e3d70a3f13f8e5dd6c6da7cf3a2aff9b6a973c Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Mon, 13 Apr 2020 14:01:28 -0300 Subject: [PATCH] unsigned byte --- .../protocols/protocol1_9to1_8/packets/WorldPackets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/WorldPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/WorldPackets.java index 54398ad30..7631919eb 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/WorldPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/WorldPackets.java @@ -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