Add support for WorldGuard on built-in server, fix getNodes() on new
ConfigurationNode class
This commit is contained in:
parent
a7ba34065b
commit
26f4f7d994
5 changed files with 95 additions and 5 deletions
|
|
@ -33,7 +33,7 @@ class JsonTimerTask extends TimerTask {
|
|||
this.server = this.plugin.getServer();
|
||||
this.mapManager = this.plugin.getMapManager();
|
||||
this.configuration = config;
|
||||
for(ConfigurationNode type : configuration.getNodes("web/components"))
|
||||
for(ConfigurationNode type : configuration.getNode("web").getNodes("components"))
|
||||
if(type.getString("type").equalsIgnoreCase("regions")) {
|
||||
this.regions = type;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue