forked from External/mage
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…
Add table
Add a link
Reference in a new issue