mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
ControlGain: Fix NPE
This commit is contained in:
@@ -45,7 +45,7 @@ public class CreatureEvaluator implements Function<Card, Integer> {
|
||||
value += addValue(toughness * 10, "toughness: " + toughness);
|
||||
|
||||
// because backside is always stronger the potential makes it better than a single faced card
|
||||
if (c.hasKeyword(Keyword.DAYBOUND)) {
|
||||
if (c.hasKeyword(Keyword.DAYBOUND) && c.hasBackSide()) {
|
||||
value += addValue(power * 10, "transforming");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user