diff --git a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_10.java b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_10.java index cb7ea1c0e..a89ea2e92 100644 --- a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_10.java +++ b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_10.java @@ -61,6 +61,8 @@ class EntityMap_1_10 extends EntityMap switch ( packetId ) { case 0x3A /* Attach Entity : PacketPlayOutAttachEntity */: + rewriteInt( packet, oldId, newId, readerIndex + packetIdLength + 4 ); + break; case 0x48 /* Collect Item : PacketPlayOutCollect */: DefinedPacket.readVarInt( packet ); rewriteVarInt( packet, oldId, newId, packet.readerIndex() ); diff --git a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_9.java b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_9.java index a3b13bf54..19d967768 100644 --- a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_9.java +++ b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_9.java @@ -61,6 +61,8 @@ class EntityMap_1_9 extends EntityMap switch ( packetId ) { case 0x3A /* Attach Entity : PacketPlayOutAttachEntity */: + rewriteInt( packet, oldId, newId, readerIndex + packetIdLength + 4 ); + break; case 0x49 /* Collect Item : PacketPlayOutCollect */: DefinedPacket.readVarInt( packet ); rewriteVarInt( packet, oldId, newId, packet.readerIndex() ); diff --git a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_9_4.java b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_9_4.java index cddc06aac..412ab4ed6 100644 --- a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_9_4.java +++ b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_9_4.java @@ -61,6 +61,8 @@ class EntityMap_1_9_4 extends EntityMap switch ( packetId ) { case 0x3A /* Attach Entity : PacketPlayOutAttachEntity */: + rewriteInt( packet, oldId, newId, readerIndex + packetIdLength + 4 ); + break; case 0x48 /* Collect Item : PacketPlayOutCollect */: DefinedPacket.readVarInt( packet ); rewriteVarInt( packet, oldId, newId, packet.readerIndex() );