Fixed stackoverflow

This commit is contained in:
Auxilor 2021-08-09 13:20:17 +01:00
parent 5e04e4e55d
commit 2ec52f59cf

View File

@ -260,7 +260,9 @@ public class EnchantmentCache {
levelDesc
);
} else {
this.description.put(level, this.description.get(0));
List<String> baseDesc = this.description.get(1);
this.description.put(level, baseDesc);
return baseDesc;
}
return getDescription(level);