Fix reading of 'webpath' by Regions component - was reading its own

config instead of top-level one
This commit is contained in:
Mike Primm 2011-06-20 17:33:01 -05:00
parent e584e3202b
commit 2c3e8fbdc0
2 changed files with 5 additions and 1 deletions

View file

@ -466,4 +466,8 @@ public class DynmapPlugin extends JavaPlugin {
pluginManager.disablePlugin(this);
pluginManager.enablePlugin(this);
}
public String getWebPath() {
return configuration.getString("webpath", "web");
}
}