From 4204fa29665b63f551dbe810f2237432cb58e3e1 Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 18 Dec 2019 12:39:49 +1100 Subject: [PATCH] Fix fishing hooks / spectral arrows after switching servers on 1.15.x --- .../main/java/net/md_5/bungee/entitymap/EntityMap_1_15.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_15.java b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_15.java index e9e19c0dd..ea9e5ec9d 100644 --- a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_15.java +++ b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap_1_15.java @@ -96,9 +96,9 @@ class EntityMap_1_15 extends EntityMap DefinedPacket.readUUID( packet ); int type = DefinedPacket.readVarInt( packet ); - if ( type == 2 || type == 101 || type == 71 ) // arrow, fishing_bobber or spectral_arrow + if ( type == 2 || type == 102 || type == 72 ) // arrow, fishing_bobber or spectral_arrow { - if ( type == 2 || type == 71 ) // arrow or spectral_arrow + if ( type == 2 || type == 72 ) // arrow or spectral_arrow { oldId = oldId + 1; newId = newId + 1;