Fixed a MMOCore loading issue

This commit is contained in:
Indyuce 2020-08-15 13:08:59 +02:00
parent 06140b15f7
commit 3bdaac574c

View File

@ -22,7 +22,7 @@ public abstract class ItemGenerationDropItem extends DropItem {
matchLevel = config.getBoolean("match-level", false); matchLevel = config.getBoolean("match-level", false);
level = config.getInt("level", 0); level = config.getInt("level", 0);
tiered = config.getBoolean("tiered"); tiered = config.getBoolean("tiered", false);
if (config.contains("tier")) { if (config.contains("tier")) {
String format = config.getString("tier").toUpperCase().replace("-", "_").replace(" ", "_"); String format = config.getString("tier").toUpperCase().replace("-", "_").replace(" ", "_");