mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-11 02:47:33 +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()) {
|
if (inputs == null || inputs.isEmpty()) {
|
||||||
parentConfig.setProperty(node, new ArrayList<String>());
|
parentConfig.setProperty(node, new ArrayList<String>());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (config.getProperty(node) != null) {
|
||||||
|
inputs = config.getStringList(node, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (inputs == null || inputs.isEmpty()) {
|
||||||
return set;
|
return set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user