mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 11:36:43 +01:00
Fixed death animation on disguise entities
This commit is contained in:
parent
505172a3d4
commit
3ba4f14183
1 changed files with 2 additions and 0 deletions
|
@ -101,6 +101,8 @@ public class SpellDisguise extends AbstractSpell {
|
|||
l.isSwingInProgress = owner.isSwingInProgress;
|
||||
|
||||
l.hurtTime = owner.hurtTime;
|
||||
l.deathTime = owner.deathTime;
|
||||
l.setHealth(owner.getHealth());
|
||||
|
||||
for (EntityEquipmentSlot i : EntityEquipmentSlot.values()) {
|
||||
l.setItemStackToSlot(i, owner.getItemStackFromSlot(i));
|
||||
|
|
Loading…
Reference in a new issue