mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Attempting to fix inverse logic in CardType#setCreatureTypes.
This commit is contained in:
@@ -190,7 +190,7 @@ public final class CardType implements Comparable<CardType>, CardTypeView {
|
|||||||
|
|
||||||
public boolean setCreatureTypes(Collection<String> ctypes) {
|
public boolean setCreatureTypes(Collection<String> ctypes) {
|
||||||
// if it isn't a creature then this has no effect
|
// if it isn't a creature then this has no effect
|
||||||
if (coreTypes.contains(CoreType.Creature)) {
|
if (!coreTypes.contains(CoreType.Creature)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
boolean changed = Iterables.removeIf(subtypes, Predicates.IS_CREATURE_TYPE);
|
boolean changed = Iterables.removeIf(subtypes, Predicates.IS_CREATURE_TYPE);
|
||||||
|
|||||||
Reference in New Issue
Block a user