Add more string replacements to output
This commit is contained in:
parent
02a19d1bdb
commit
b3ae55d8ee
|
@ -111,7 +111,11 @@ public class IslandLevelCommand extends CompositeCommand {
|
||||||
}
|
}
|
||||||
// Send player how many points are required to reach next island level
|
// Send player how many points are required to reach next island level
|
||||||
if (results.getPointsToNextLevel() >= 0) {
|
if (results.getPointsToNextLevel() >= 0) {
|
||||||
user.sendMessage("island.level.required-points-to-next-level", "[points]", String.valueOf(results.getPointsToNextLevel()));
|
user.sendMessage("island.level.required-points-to-next-level",
|
||||||
|
"[points]", String.valueOf(results.getPointsToNextLevel()),
|
||||||
|
"[progress]", String.valueOf(this.addon.getSettings().getLevelCost()-results.getPointsToNextLevel()),
|
||||||
|
"[levelcost]", String.valueOf(this.addon.getSettings().getLevelCost())
|
||||||
|
);
|
||||||
}
|
}
|
||||||
// Tell other team members
|
// Tell other team members
|
||||||
if (results.getLevel() != oldLevel) {
|
if (results.getLevel() != oldLevel) {
|
||||||
|
|
Loading…
Reference in New Issue