mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Merge branch 'master' of https://github.com/magefree/mage.git
This commit is contained in:
commit
2aee0afe45
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ class DarksteelReactorStateTriggeredAbility extends StateTriggeredAbility<Darkst
|
|||
|
||||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
Permanent permanent = game.getPermanent(getSourceId());
|
||||
if(permanent.getCounters().getCount(CounterType.CHARGE) >= 20){
|
||||
Permanent permanent = game.getPermanent(this.getSourceId());
|
||||
if(permanent != null && permanent.getCounters().getCount(CounterType.CHARGE) >= 20){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue