forked from External/mage
Make the Counters API for card and permanent consistent.
This commit is contained in:
parent
277dc19fec
commit
148f633672
176 changed files with 272 additions and 277 deletions
|
|
@ -26,7 +26,7 @@ public class LastTimeCounterRemovedCondition implements Condition{
|
|||
permanent = (Permanent) game.getLastKnownInformation(source.getSourceId(), Zone.BATTLEFIELD);
|
||||
}
|
||||
if (permanent != null) {
|
||||
final int timeCounters = permanent.getCounters().getCount(CounterType.TIME);
|
||||
final int timeCounters = permanent.getCounters(game).getCount(CounterType.TIME);
|
||||
return timeCounters == 0;
|
||||
} else {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue