change enum equals to == in cards

This commit is contained in:
ingmargoudt 2017-03-02 16:28:23 +01:00
parent 5087534fe4
commit 39c9420ad2
148 changed files with 237 additions and 238 deletions

View file

@ -247,7 +247,7 @@ class ChandraPyromasterCastFromExileEffect extends AsThoughEffectImpl {
@Override
public boolean applies(UUID sourceId, Ability source, UUID affectedControllerId, Game game) {
if (targetPointer.getTargets(game, source).contains(sourceId)) {
return game.getState().getZone(sourceId).equals(Zone.EXILED);
return game.getState().getZone(sourceId) == Zone.EXILED;
}
return false;
}