diff --git a/src/de/jaschastarke/minecraft/worldguard/CRegionManager.java b/src/de/jaschastarke/minecraft/worldguard/CRegionManager.java index 568167d..031e9ba 100644 --- a/src/de/jaschastarke/minecraft/worldguard/CRegionManager.java +++ b/src/de/jaschastarke/minecraft/worldguard/CRegionManager.java @@ -122,8 +122,10 @@ public class CRegionManager { ConfigurationSection fs = rs.getConfigurationSection("flags"); for (Map.Entry data : fs.getValues(false).entrySet()) { Flag flag = FlagList.getFlag(data.getKey()); - Object value = flag.unmarshal(data.getValue()); - list.add(new FlagValue(flag, value)); + if (flag != null) { + Object value = flag.unmarshal(data.getValue()); + list.add(new FlagValue(flag, value)); + } } } }