fix voracious Dragon, Goblins were never counted properly
@@ -70,7 +70,7 @@ class TwiceDevouredGoblins implements DynamicValue {
DevourEffect devourEffect = (DevourEffect) abilityEffect;
int amountGoblins = 0;
for (List<String> subtypesItem :devourEffect.getSubtypes(game, sourcePermanent.getId())) {
- if (subtypesItem.contains(SubType.GOBLIN)) {
+ if (subtypesItem.contains(SubType.GOBLIN.toString())) {
++amountGoblins;
}
}
