diff --git a/src/main/java/com/garbagemule/MobArena/ArenaMasterImpl.java b/src/main/java/com/garbagemule/MobArena/ArenaMasterImpl.java index 6f1a75c..7e3730c 100644 --- a/src/main/java/com/garbagemule/MobArena/ArenaMasterImpl.java +++ b/src/main/java/com/garbagemule/MobArena/ArenaMasterImpl.java @@ -376,7 +376,10 @@ public class ArenaMasterImpl implements ArenaMaster private void loadClassItems(ConfigurationSection section, ArenaClass arenaClass) { List items = section.getStringList("items"); if (items == null || items.isEmpty()) { - String value = section.getString("items", ""); + String value = section.getString("items", null); + if (value == null || value.isEmpty()) { + return; + } items = Arrays.asList(value.split(",")); }