mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Fixed NPE on playerList.getNext usage
This commit is contained in:
parent
f1d2d2fb22
commit
6fa4c0b8f2
7 changed files with 19 additions and 11 deletions
|
|
@ -39,7 +39,7 @@ public final class MtgJsonCard {
|
|||
if ("transform".equals(layout)
|
||||
|| "flip".equals(layout)
|
||||
|| "adventure".equals(layout)
|
||||
|| "meld".equals(layout)) { // TODO: remove or keep after mtgjson's meld bug resolve https://github.com/mtgjson/mtgjson/issues/661
|
||||
|| "meld".equals(layout)) { // mtgjson uses composite names for meld cards, but scryfall uses simple face names
|
||||
return faceName;
|
||||
}
|
||||
return asciiName != null ? asciiName : name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue