1
0
Fork 0
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 ).

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() {
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) {