mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-10 18:37:39 +01:00
Actually read TargetMatchers from world configs.
Previously only read from global.
This commit is contained in:
parent
9905d22ddf
commit
868089b44f
@ -105,6 +105,13 @@ private TargetMatcherSet getTargetMatchers(String node) {
|
||||
|
||||
if (inputs == null || inputs.isEmpty()) {
|
||||
parentConfig.setProperty(node, new ArrayList<String>());
|
||||
}
|
||||
|
||||
if (config.getProperty(node) != null) {
|
||||
inputs = config.getStringList(node, null);
|
||||
}
|
||||
|
||||
if (inputs == null || inputs.isEmpty()) {
|
||||
return set;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user