diff --git a/src/de/steamwar/bungeecore/sql/SchematicType.java b/src/de/steamwar/bungeecore/sql/SchematicType.java index 2b9d463..368925b 100644 --- a/src/de/steamwar/bungeecore/sql/SchematicType.java +++ b/src/de/steamwar/bungeecore/sql/SchematicType.java @@ -42,7 +42,8 @@ public class SchematicType { String checktype = section.getString("checktype"); SchematicType current = new SchematicType(type, section.getString("kuerzel"), Type.valueOf(section.getString("type")), checktype != null ? tmpFromDB.get(checktype.toLowerCase()) : null); tmpTypes.add(current); - tmpFightType.put(current, current.checkType); + if(current.checkType != null) + tmpFightType.put(current.checkType, current); tmpFromDB.put(type.toLowerCase(), current); }