From af51c6def05c0bf73507037781732f598ffc3c0c Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 6 Dec 2013 20:19:08 +1300 Subject: [PATCH] Fix error --- src/me/libraryaddict/disguise/utilities/PacketsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/PacketsManager.java b/src/me/libraryaddict/disguise/utilities/PacketsManager.java index cd5012fa..c8f1bfbe 100644 --- a/src/me/libraryaddict/disguise/utilities/PacketsManager.java +++ b/src/me/libraryaddict/disguise/utilities/PacketsManager.java @@ -110,7 +110,7 @@ public class PacketsManager { try { Player observer = event.getPlayer(); StructureModifier entityModifer = event.getPacket().getEntityModifier(observer.getWorld()); - org.bukkit.entity.Entity entity = entityModifer.read(ReflectionManager.isAfter17() ? 1 : 0); + org.bukkit.entity.Entity entity = entityModifer.read(ReflectionManager.isAfter17() ? 0 : 1); if (entity instanceof ExperienceOrb || entity instanceof Item || entity instanceof Arrow) { event.setCancelled(true); }