public void setModifyPoints(Location l1, Location l2, Player p) { if (l1 == null || l2 == null) { p.sendMessage(ChatColor.RED + "[Regios] You have not set 2 points!"); return; } Region r = CreationCommands.modRegion.get(p); if (!super.canModifyMain(r, p)) { p.sendMessage(ChatColor.RED + "[Regios] You are not permitted to modify this region!"); return; } p.sendMessage( ChatColor.GREEN + "[Regios] Region " + ChatColor.BLUE + r.getName() + ChatColor.GREEN + ", points modified successfully"); mutable.editModifyPoints(r, l1, l2); }