Fixed bending breaking when a user toggles their bending (#710)

This commit is contained in:
Sobki 2017-01-26 12:14:12 +10:00 committed by Christopher Martin
parent 3b597cc933
commit 2de9ce3281

View file

@ -213,12 +213,12 @@ public abstract class CoreAbility implements Ability {
BendingPlayer bPlayer = abil.getBendingPlayer();
if (bPlayer == null || !abil.getPlayer().isOnline()) {
abil.remove();
return;
continue;
} else if (!bPlayer.canBendPassive(abil.getElement())) { // Check for if the passive should be removed
abil.remove();
return;
continue;
} else if (!bPlayer.canUsePassive(abil.getElement())) { // Check for if the passive should be prevented from happening, but not remove it
return;
continue;
}
}
abil.progress();