1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-12 01:01:04 -09:00

fix boolean evaluation for ThunderkinAwakener

This commit is contained in:
Ingmar Goudt 2019-07-14 10:16:19 +02:00
parent 91a01a78bc
commit bcb9011476

View file

@ -78,7 +78,7 @@ enum ThunderkinAwakenerPredicate implements ObjectSourcePlayerPredicate<ObjectSo
public boolean apply(ObjectSourcePlayer<Card> input, Game game) {
Permanent sourcePermanent = game.getPermanentOrLKIBattlefield(input.getSourceId());
return sourcePermanent != null
& input.getObject().getToughness().getValue() < sourcePermanent.getToughness().getValue();
&& input.getObject().getToughness().getValue() < sourcePermanent.getToughness().getValue();
}
}