mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-20 23:21:33 +01:00
Added %[gamemode]_deaths% placeholder
Implements https://github.com/BentoBoxWorld/BentoBox/issues/1197
This commit is contained in:
parent
5cd2287d3a
commit
795925f0cd
@ -298,7 +298,12 @@ public enum GameModePlaceholder {
|
||||
* {@code -1} is unlimited.
|
||||
* @since 1.5.0
|
||||
*/
|
||||
RESETS_LEFT("resets_left", (addon, user, island) -> String.valueOf(addon.getPlayers().getResetsLeft(addon.getOverWorld(), user.getUniqueId())));
|
||||
RESETS_LEFT("resets_left", (addon, user, island) -> String.valueOf(addon.getPlayers().getResetsLeft(addon.getOverWorld(), user.getUniqueId()))),
|
||||
/**
|
||||
* Returns how many times this player died.
|
||||
* @since 1.12.0
|
||||
*/
|
||||
DEATHS("deaths", (addon, user, island) -> String.valueOf(addon.getPlayers().getDeaths(addon.getOverWorld(), user.getUniqueId())));
|
||||
|
||||
private String placeholder;
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user