diff --git a/src/de/jaschastarke/minecraft/limitedcreative/Configuration.java b/src/de/jaschastarke/minecraft/limitedcreative/Configuration.java index fed84c3..82fc054 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/Configuration.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/Configuration.java @@ -272,9 +272,11 @@ public class Configuration { if (sect.getBoolean("enabled")) { Map armor = new HashMap(); for (Map.Entry entry : sect.getValues(false).entrySet()) { - MaterialData md = parseMaterial((String) entry.getValue()); - if (md != null) - armor.put(entry.getKey(), md); + if (!entry.getKey().equals("enabled")) { + MaterialData md = parseMaterial((String) entry.getValue()); + if (md != null) + armor.put(entry.getKey(), md); + } } return armor; }