From 1b914b9c7ba244faff60234419b9cfddd4b2cec3 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sat, 5 Apr 2014 03:23:46 +1300 Subject: [PATCH] Reset the dead ticks --- src/me/libraryaddict/disguise/disguisetypes/Disguise.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/me/libraryaddict/disguise/disguisetypes/Disguise.java b/src/me/libraryaddict/disguise/disguisetypes/Disguise.java index 2ddca402..e7802599 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/Disguise.java +++ b/src/me/libraryaddict/disguise/disguisetypes/Disguise.java @@ -190,6 +190,7 @@ public abstract class Disguise { // The delay is because if it sends the destroy entity packets straight away, then it means no death animation // This is probably still a problem for wither and enderdragon deaths. if (deadTicks++ > (getType() == DisguiseType.ENDER_DRAGON ? 200 : 20)) { + deadTicks = 0; if (isRemoveDisguiseOnDeath()) { removeDisguise(); } else {