mirror of
https://github.com/correl/mage.git
synced 2025-03-29 11:43:34 -09:00
* Fixed a bug that prevented the display of supertypes (fixes #3142).
This commit is contained in:
parent
d52043e9db
commit
90c583f755
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ public class CardInfo {
|
|||
|
||||
public final EnumSet<SuperType> getSupertypes() {
|
||||
EnumSet<SuperType> list = EnumSet.noneOf(SuperType.class);
|
||||
for (String type : this.types.split(SEPARATOR)) {
|
||||
for (String type : this.supertypes.split(SEPARATOR)) {
|
||||
try {
|
||||
list.add(SuperType.valueOf(type));
|
||||
} catch (IllegalArgumentException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue