Reset the dead ticks
This commit is contained in:
parent
a49cea54e7
commit
1b914b9c7b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user