mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-10 21:00:41 +01:00
Raw island level placeholder (#241)
This commit is contained in:
parent
4de5b80ab4
commit
cc977d8562
@ -197,6 +197,9 @@ public class Level extends Addon implements Listener {
|
||||
getPlugin().getPlaceholdersManager().registerPlaceholder(this,
|
||||
gm.getDescription().getName().toLowerCase() + "_island_level",
|
||||
user -> getManager().getIslandLevelString(gm.getOverWorld(), user.getUniqueId()));
|
||||
getPlugin().getPlaceholdersManager().registerPlaceholder(this,
|
||||
gm.getDescription().getName().toLowerCase() + "_island_level_raw",
|
||||
user -> String.valueOf(getManager().getIslandLevel(gm.getOverWorld(), user.getUniqueId())));
|
||||
getPlugin().getPlaceholdersManager().registerPlaceholder(this,
|
||||
gm.getDescription().getName().toLowerCase() + "_points_to_next_level",
|
||||
user -> getManager().getPointsToNextString(gm.getOverWorld(), user.getUniqueId()));
|
||||
|
Loading…
Reference in New Issue
Block a user