mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-28 05:35:44 +01:00
Make island info show min and max world heights
This commit is contained in:
parent
9fcee44888
commit
626b215322
@ -150,8 +150,9 @@ public class IslandInfo {
|
|||||||
user.sendMessage("commands.admin.info.island-center", TextVariables.XYZ, Util.xyz(location));
|
user.sendMessage("commands.admin.info.island-center", TextVariables.XYZ, Util.xyz(location));
|
||||||
user.sendMessage("commands.admin.info.protection-range", RANGE, String.valueOf(island.getProtectionRange()));
|
user.sendMessage("commands.admin.info.protection-range", RANGE, String.valueOf(island.getProtectionRange()));
|
||||||
user.sendMessage("commands.admin.info.protection-coords", XZ1,
|
user.sendMessage("commands.admin.info.protection-coords", XZ1,
|
||||||
Util.xyz(new Vector(island.getMinProtectedX(), 0, island.getMinProtectedZ())), "[xz2]",
|
Util.xyz(new Vector(island.getMinProtectedX(), world.getMinHeight(), island.getMinProtectedZ())),
|
||||||
Util.xyz(new Vector(island.getMaxProtectedX() - 1, 0, island.getMaxProtectedZ() - 1)));
|
"[xz2]", Util.xyz(new Vector(island.getMaxProtectedX() - 1, world.getMaxHeight(),
|
||||||
|
island.getMaxProtectedZ() - 1)));
|
||||||
if (island.isSpawn()) {
|
if (island.isSpawn()) {
|
||||||
user.sendMessage("commands.admin.info.is-spawn");
|
user.sendMessage("commands.admin.info.is-spawn");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user