mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-17 22:57:52 +01:00
parent
e66f3842b7
commit
d283de9440
@ -16,6 +16,11 @@ public enum GameModePlaceholders {
|
|||||||
ISLAND_CREATION_DATE("island-creation-date", (addon, user, island) -> island == null ? "" : String.valueOf(island.getProtectionRange())),
|
ISLAND_CREATION_DATE("island-creation-date", (addon, user, island) -> island == null ? "" : String.valueOf(island.getProtectionRange())),
|
||||||
ISLAND_SPAWNPOINT("island-spawnpoint", (addon, user, island) -> island == null ? "" : Util.xyz(island.getCenter().toVector())),
|
ISLAND_SPAWNPOINT("island-spawnpoint", (addon, user, island) -> island == null ? "" : Util.xyz(island.getCenter().toVector())),
|
||||||
ISLAND_NAME("island-name", (addon, user, island) -> island == null ? "" : (island.getName() == null ? "" : island.getName())),
|
ISLAND_NAME("island-name", (addon, user, island) -> island == null ? "" : (island.getName() == null ? "" : island.getName())),
|
||||||
|
/**
|
||||||
|
* Displays the coordinates of the island's center.
|
||||||
|
* @since 1.5.0
|
||||||
|
*/
|
||||||
|
ISLAND_CENTER("island-center", (addon, user, island) -> island == null ? "" : Util.xyz(island.getCenter().toVector())),
|
||||||
/**
|
/**
|
||||||
* Displays the X coordinate of the island's center.
|
* Displays the X coordinate of the island's center.
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
|
Loading…
Reference in New Issue
Block a user