still v1.0.1:
- bypassing downgrade issue (unknown flags in regions.yml)
This commit is contained in:
parent
0f738ac018
commit
fcf6b084d2
1 changed files with 4 additions and 2 deletions
|
@ -122,8 +122,10 @@ public class CRegionManager {
|
|||
ConfigurationSection fs = rs.getConfigurationSection("flags");
|
||||
for (Map.Entry<String, Object> 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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue