mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Creatures without a name can't have the same name as other creatures without a name (Bile Blight + Morph)
This commit is contained in:
@@ -3497,7 +3497,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (property.startsWith("sameName")) {
|
} else if (property.startsWith("sameName")) {
|
||||||
if (!getName().equals(source.getName())) {
|
if (getName().equals("") || !getName().equals(source.getName())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (property.equals("NamedCard")) {
|
} else if (property.equals("NamedCard")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user