forked from External/mage
game: improved game logs for faced-down spells and exiled cards - now it support popup hint to view card/permanent (part of #11884, related to #11881, #8781)
This commit is contained in:
parent
4334ac8987
commit
c8a9a1a9db
8 changed files with 77 additions and 26 deletions
|
|
@ -757,7 +757,9 @@ public final class CardUtil {
|
|||
}
|
||||
|
||||
public static boolean haveEmptyName(String name) {
|
||||
return name == null || name.isEmpty() || name.equals(EmptyNames.FACE_DOWN_CREATURE.toString()) || name.equals(EmptyNames.FACE_DOWN_TOKEN.toString());
|
||||
return name == null
|
||||
|| name.isEmpty()
|
||||
|| EmptyNames.isEmptyName(name);
|
||||
}
|
||||
|
||||
public static boolean haveEmptyName(MageObject object) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue