Prevent the death animation from playing when recalling entities spawned by the necromancy spell

This commit is contained in:
Sollace 2021-12-29 21:24:02 +02:00
parent 9f5d20e011
commit fb3a642acd

View file

@ -100,9 +100,8 @@ public class NecromancySpell extends AbstractAreaEffectSpell {
if (master != null) { if (master != null) {
master.applyDamageEffects(master, e); master.applyDamageEffects(master, e);
} }
if (caster.getWorld().random.nextInt(2000) != 0) { e.world.sendEntityStatus(e, (byte)60);
e.setHealth(0); e.discard();
}
}); });
}); });
} }