Notify players of region updates after updating regions
This commit is contained in:
parent
830ad12556
commit
e509c0ef59
@ -58,6 +58,7 @@ public class RegionCommand implements CommandExecutor {
|
||||
m_plugin.regionManager().addRegion(r);
|
||||
m_plugin.regenRegionPost(r);
|
||||
p.teleport(r.teleportLocation());
|
||||
m_plugin.recalculatePlayerRegions();
|
||||
} else if (subCommand.equals("remove") && p.hasPermission("regions.remove")) {
|
||||
Region r = m_plugin.regionManager().nearestRegion(p.getLocation());
|
||||
if (r == null) {
|
||||
@ -65,6 +66,7 @@ public class RegionCommand implements CommandExecutor {
|
||||
return true;
|
||||
}
|
||||
m_plugin.regionManager().removeRegion(r);
|
||||
m_plugin.recalculatePlayerRegions();
|
||||
} else if (subCommand.equals("city") && p.hasPermission("regions.setCity")) {
|
||||
Region r = m_plugin.regionManager().nearestRegion(p.getLocation());
|
||||
if (r == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user