Refactored method in GilderBairn to not always return the same value.
@@ -95,13 +95,12 @@ class GilderBairnEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Permanent target = game.getPermanent(source.getFirstTarget());
- if (target == null) {
- return false;
- }
+ if (target != null) {
for (Counter counter : target.getCounters(game).values()) {
Counter newCounter = new Counter(counter.getName(), counter.getCount());
target.addCounters(newCounter, source, game);
}
+ }
return false;
}
}
