From 3e4f581943dd81f332b6075d164e3265364dcfff Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 15 Dec 2013 02:46:08 +1300 Subject: [PATCH] Possibly fix the entity animations from playing over and over in self disguises --- src/me/libraryaddict/disguise/utilities/PacketsManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/PacketsManager.java b/src/me/libraryaddict/disguise/utilities/PacketsManager.java index 96017c9a..6dd8f45c 100644 --- a/src/me/libraryaddict/disguise/utilities/PacketsManager.java +++ b/src/me/libraryaddict/disguise/utilities/PacketsManager.java @@ -759,7 +759,8 @@ public class PacketsManager { || event.getPacketType() == PacketType.Play.Server.ENTITY_TELEPORT || event.getPacketType() == PacketType.Play.Server.ENTITY_HEAD_ROTATION || event.getPacketType() == PacketType.Play.Server.ENTITY_EFFECT - || event.getPacketType() == PacketType.Play.Server.ENTITY_EQUIPMENT) { + || event.getPacketType() == PacketType.Play.Server.ENTITY_EQUIPMENT + || event.getPacketType() == PacketType.Play.Server.ANIMATION) { event.setCancelled(true); }