From 6093cde93f60bda363643e970f86ab0df32cc740 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Sun, 8 Dec 2013 18:04:20 +0000 Subject: [PATCH] Fix last commit --- proxy/src/main/java/net/md_5/bungee/EntityMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/EntityMap.java b/proxy/src/main/java/net/md_5/bungee/EntityMap.java index 0b409faf..36efd65e 100644 --- a/proxy/src/main/java/net/md_5/bungee/EntityMap.java +++ b/proxy/src/main/java/net/md_5/bungee/EntityMap.java @@ -90,7 +90,7 @@ public class EntityMap DefinedPacket.readVarInt( packet ); int idLength = packet.readerIndex() - readerIndex - packetIdLength; - int type = packet.getByte( idLength ); + int type = packet.getByte( packetIdLength + idLength ); if ( type == 60 || type == 90 ) {