Fix error printed when casting the attractive spell

This commit is contained in:
Sollace 2022-09-11 15:41:14 +02:00
parent 5e23b7520e
commit 0db98b8048

View file

@ -126,7 +126,6 @@ public class AttractiveSpell extends ShieldSpell implements ProjectileSpell, Hom
if (getTraits().get(Trait.ORDER) >= 20) { if (getTraits().get(Trait.ORDER) >= 20) {
this.target.set(target); this.target.set(target);
target.setGlowing(true); target.setGlowing(true);
this.onDestroyed(null);
return true; return true;
} }
return false; return false;