forked from External/mage
additional fixes for Kaito's watcher (#10646)
This commit is contained in:
parent
574321f034
commit
a6e23f9704
3 changed files with 4 additions and 4 deletions
|
|
@ -20,6 +20,6 @@ public class PermanentInListPredicate implements Predicate<Permanent> {
|
|||
|
||||
@Override
|
||||
public boolean apply(Permanent input, Game game) {
|
||||
return (permanents != null && permanents.contains(input));
|
||||
return (permanents.contains(input));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ public class PermanentReferenceInCollectionPredicate implements Predicate<Perman
|
|||
|
||||
@Override
|
||||
public boolean apply(Permanent input, Game game) {
|
||||
return (references != null &&
|
||||
references.contains(new MageObjectReference(input, game)));
|
||||
return (references.contains(new MageObjectReference(input, game)));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue