diff --git a/org/enigma/TargetHandler.java b/org/enigma/TargetHandler.java index 78abfcf..92f312f 100644 --- a/org/enigma/TargetHandler.java +++ b/org/enigma/TargetHandler.java @@ -415,8 +415,10 @@ private static void populateMap(Map> map, YamlNode node, Stri YamlNode n = ((YamlNode) e); for (YamlElement el : n.chronos) { + String value = ((YamlContent) el).getValue(); + if (value == null) continue; Set dep = new HashSet(); - for (String s : SPLITTER.split(((YamlContent) el).getValue().toLowerCase())) + for (String s : SPLITTER.split(value.toLowerCase())) if (!s.isEmpty()) dep.add(s); map.put(el.name,dep); }