* Prevented NPE for getPhaseType().

This commit is contained in:
LevelX2 2014-07-30 20:08:27 +02:00
parent f2fc548f08
commit 02df3f49a7
4 changed files with 5 additions and 5 deletions

View file

@ -47,7 +47,7 @@ public class IsPhaseCondition implements Condition {
@Override
public boolean apply(Game game, Ability source) {
return game.getTurn().getPhaseType().equals(turnPhase);
return turnPhase.equals(game.getTurn().getPhaseType());
}
@Override