diff --git a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_14.java b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_14.java index cb5631fa..7c0ba80b 100644 --- a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_14.java +++ b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_14.java @@ -94,11 +94,11 @@ class EntityMap_1_14 extends EntityMap case 0x00 /* Spawn Object : PacketPlayOutSpawnEntity */: DefinedPacket.readVarInt( packet ); DefinedPacket.readUUID( packet ); - int type = packet.readUnsignedByte(); + int type = DefinedPacket.readVarInt( packet ); - if ( type == 60 || type == 90 || type == 91 ) + if ( type == 2 || type == 93 || type == 68 ) // arrow, fishing_bobber or spectral_arrow { - if ( type == 60 || type == 91 ) + if ( type == 2 || type == 68 ) // arrow or spectral_arrow { oldId = oldId + 1; newId = newId + 1;