1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-13 01:01:11 -09:00

* Fixed a bug that prevented the display of supertypes (fixes ).

This commit is contained in:
LevelX2 2017-04-17 23:14:06 +02:00
parent d52043e9db
commit 90c583f755

View file

@ -318,7 +318,7 @@ public class CardInfo {
public final EnumSet<SuperType> getSupertypes() { public final EnumSet<SuperType> getSupertypes() {
EnumSet<SuperType> list = EnumSet.noneOf(SuperType.class); EnumSet<SuperType> list = EnumSet.noneOf(SuperType.class);
for (String type : this.types.split(SEPARATOR)) { for (String type : this.supertypes.split(SEPARATOR)) {
try { try {
list.add(SuperType.valueOf(type)); list.add(SuperType.valueOf(type));
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException e) {