Fix respawn reading

This commit is contained in:
KennyTV 2020-05-23 12:46:15 +02:00
parent 3db74c79ab
commit bea01bc794
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

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