From 6930b3cf7194b07e60391e657ef6db3dc9746e6a Mon Sep 17 00:00:00 2001 From: Simp Date: Fri, 28 Dec 2018 22:25:06 -0500 Subject: [PATCH] Fix FerroControl instances persisting --- .../projectkorra/earthbending/passive/FerroControl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/projectkorra/projectkorra/earthbending/passive/FerroControl.java b/src/com/projectkorra/projectkorra/earthbending/passive/FerroControl.java index 00d6e945..7941f3c7 100644 --- a/src/com/projectkorra/projectkorra/earthbending/passive/FerroControl.java +++ b/src/com/projectkorra/projectkorra/earthbending/passive/FerroControl.java @@ -27,6 +27,7 @@ public class FerroControl extends MetalAbility implements PassiveAbility { @Override public void progress() { if (!this.player.isSneaking() || !this.bPlayer.canUsePassive(this) || !this.bPlayer.canBendPassive(this)) { + remove(); return; }