From bea01bc794d9727a621b77ed6bd74a61c80ee2ed Mon Sep 17 00:00:00 2001 From: KennyTV Date: Sat, 23 May 2020 12:46:15 +0200 Subject: [PATCH] Fix respawn reading --- .../protocols/protocol1_16to1_15_2/packets/EntityPackets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16to1_15_2/packets/EntityPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16to1_15_2/packets/EntityPackets.java index 4855ecae6..348ef5210 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16to1_15_2/packets/EntityPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_16to1_15_2/packets/EntityPackets.java @@ -77,7 +77,7 @@ public class EntityPackets { public void registerMap() { map(DIMENSION_TRANSFORMER); map(Type.LONG); - map(Type.BYTE); + map(Type.UNSIGNED_BYTE); handler(wrapper -> { ClientWorld clientWorld = wrapper.user().get(ClientWorld.class); String dimensionId = wrapper.get(Type.STRING, 0);