- CheckStyle.

This commit is contained in:
Chris
2012-11-11 15:13:46 +00:00
parent 8c370c1b1d
commit 39bb830e5a

View File

@@ -595,7 +595,7 @@ public class AbilityFactory {
final SpellAbility saTargeting = (ability.getTarget() == null) ? ability.getParentTargetingPlayer() : ability;
if (saTargeting.getTarget() != null) {
SpellAbility loopSA = saTargeting;
while(loopSA != null) {
while (loopSA != null) {
objects.addAll(saTargeting.getTarget().getTargets());
loopSA = loopSA.getSubAbility();
}