Add method to re-notify players of region updates

This commit is contained in:
Torrie Fischer 2012-04-24 16:44:27 -04:00
parent cacc3c9630
commit 830ad12556

View File

@ -42,6 +42,10 @@ public class Plugin extends JavaPlugin {
return m_regions; return m_regions;
} }
public void recalculatePlayerRegions() {
m_playerWatcher.run();
}
public void onEnable() { public void onEnable() {
log.info("[Regions] Enabling Regions"); log.info("[Regions] Enabling Regions");
m_regions = new RegionManager(getServer().getPluginManager()); m_regions = new RegionManager(getServer().getPluginManager());