Clear and recalculate regions after a reload
This commit is contained in:
parent
e699f3525a
commit
7210498517
@ -95,8 +95,10 @@ public class Plugin extends JavaPlugin {
|
||||
public void loadRegions() {
|
||||
reloadConfig();
|
||||
ConfigurationSection section = getConfig().getConfigurationSection("worlds");
|
||||
m_regions.clear();
|
||||
if (section != null)
|
||||
m_regions.loadRegions(section, getServer());
|
||||
recalculatePlayerRegions();
|
||||
}
|
||||
|
||||
public void saveRegions() {
|
||||
|
Loading…
Reference in New Issue
Block a user