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,12 +122,14 @@ public class CRegionManager {
|
|||
ConfigurationSection fs = rs.getConfigurationSection("flags");
|
||||
for (Map.Entry<String, Object> data : fs.getValues(false).entrySet()) {
|
||||
Flag<?> flag = FlagList.getFlag(data.getKey());
|
||||
if (flag != null) {
|
||||
Object value = flag.unmarshal(data.getValue());
|
||||
list.add(new FlagValue(flag, value));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue