mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- CheckStyle.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user