From 0db98b80484c5490ae4778fb85773cb41cec6e13 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 11 Sep 2022 15:41:14 +0200 Subject: [PATCH] Fix error printed when casting the attractive spell --- .../unicopia/ability/magic/spell/effect/AttractiveSpell.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/effect/AttractiveSpell.java b/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/effect/AttractiveSpell.java index 848a990e..6c437c09 100644 --- a/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/effect/AttractiveSpell.java +++ b/src/main/java/com/minelittlepony/unicopia/ability/magic/spell/effect/AttractiveSpell.java @@ -126,7 +126,6 @@ public class AttractiveSpell extends ShieldSpell implements ProjectileSpell, Hom if (getTraits().get(Trait.ORDER) >= 20) { this.target.set(target); target.setGlowing(true); - this.onDestroyed(null); return true; } return false;