change enum equals to ==

This commit is contained in:
ingmargoudt 2017-03-01 15:05:44 +01:00
parent 82841c16c6
commit d01aed42ed
40 changed files with 57 additions and 57 deletions

View file

@ -71,7 +71,7 @@ public class RevealSourceFromYourHandCost extends CostImpl {
@Override
public boolean canPay(Ability ability, UUID sourceId, UUID controllerId, Game game) {
return game.getState().getZone(sourceId).equals(Zone.HAND);
return game.getState().getZone(sourceId) == Zone.HAND;
}
@Override