mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 23:27:59 +01:00
Prevent the death animation from playing when recalling entities spawned by the necromancy spell
This commit is contained in:
parent
9f5d20e011
commit
fb3a642acd
1 changed files with 2 additions and 3 deletions
|
@ -100,9 +100,8 @@ public class NecromancySpell extends AbstractAreaEffectSpell {
|
|||
if (master != null) {
|
||||
master.applyDamageEffects(master, e);
|
||||
}
|
||||
if (caster.getWorld().random.nextInt(2000) != 0) {
|
||||
e.setHealth(0);
|
||||
}
|
||||
e.world.sendEntityStatus(e, (byte)60);
|
||||
e.discard();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue