forked from External/mage
Fixed potential NPE errors in getPhase usage (fixed Berserker's Frenzy, etc)
This commit is contained in:
parent
cfd7464b49
commit
a15a0daa04
81 changed files with 162 additions and 130 deletions
|
|
@ -15,7 +15,7 @@ public enum AfterCombatCondition implements Condition {
|
|||
@Override
|
||||
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return game.getStep().getType().isAfter(PhaseStep.END_COMBAT);
|
||||
return game.getTurnStepType().isAfter(PhaseStep.END_COMBAT);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue