mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-18 23:27:35 +01:00
Remove permission.
This commit is contained in:
parent
7074963fb1
commit
69af41f1e5
@ -434,14 +434,12 @@ public static void info(CommandContext args, WorldGuardPlugin plugin,
|
|||||||
+ owners.toUserFriendlyString());
|
+ owners.toUserFriendlyString());
|
||||||
sender.sendMessage(ChatColor.LIGHT_PURPLE + "Members: "
|
sender.sendMessage(ChatColor.LIGHT_PURPLE + "Members: "
|
||||||
+ members.toUserFriendlyString());
|
+ members.toUserFriendlyString());
|
||||||
if (plugin.hasPermission(sender, "worldguard.region.bounds")) {
|
|
||||||
BlockVector min = region.getMinimumPoint();
|
BlockVector min = region.getMinimumPoint();
|
||||||
BlockVector max = region.getMaximumPoint();
|
BlockVector max = region.getMaximumPoint();
|
||||||
String c = "(" + min.getBlockX() + "," + min.getBlockY() + "," + min.getBlockZ() + ")";
|
String c = "(" + min.getBlockX() + "," + min.getBlockY() + "," + min.getBlockZ() + ")";
|
||||||
c += " (" +max.getBlockX() + "," + max.getBlockY() + "," + max.getBlockZ() + ")";
|
c += " (" +max.getBlockX() + "," + max.getBlockY() + "," + max.getBlockZ() + ")";
|
||||||
sender.sendMessage(ChatColor.LIGHT_PURPLE + "Bounds: " + c);
|
sender.sendMessage(ChatColor.LIGHT_PURPLE + "Bounds: " + c);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@Command(aliases = {"list"},
|
@Command(aliases = {"list"},
|
||||||
usage = "[.player] [page] [world]",
|
usage = "[.player] [page] [world]",
|
||||||
|
Loading…
Reference in New Issue
Block a user