Add method to re-notify players of region updates

This commit is contained in:
Trever Fischer 2012-04-24 16:44:27 -04:00
parent 8a0caa2b01
commit b704bd79f4

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());