forked from External/mage
changed enum equals to ==, removed contains check for set
This commit is contained in:
parent
46ab7daf55
commit
1bc8e2248b
18 changed files with 42 additions and 50 deletions
|
|
@ -236,7 +236,7 @@ public class SuspendAbility extends SpecialAction {
|
|||
|
||||
@Override
|
||||
public boolean canActivate(UUID playerId, Game game) {
|
||||
if (!game.getState().getZone(getSourceId()).equals(Zone.HAND)) {
|
||||
if (game.getState().getZone(getSourceId()) != Zone.HAND) {
|
||||
// Supend can only be activated from hand
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue