Improves un-setting of NPC values #10
This commit is contained in:
@ -361,7 +361,7 @@ public class NPCSettings {
|
||||
newReforgeAbleItems = (String) replaceReforgeAblePresets(newReforgeAbleItems);
|
||||
|
||||
for (String item : newReforgeAbleItems.split(",")) {
|
||||
if (item == null || item.equalsIgnoreCase("null")) {
|
||||
if (item == null || item.trim().isEmpty() || item.equalsIgnoreCase("null")) {
|
||||
continue;
|
||||
}
|
||||
Material material = Material.matchMaterial(item.replace('-', '_'));
|
||||
|
Reference in New Issue
Block a user