mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2025-01-26 02:01:57 +01:00
Fixed admin topten display
This commit is contained in:
parent
8703e7c262
commit
456e278d11
@ -51,14 +51,13 @@ public class AdminTopCommand extends CompositeCommand {
|
||||
Island island = getPlugin().getIslands().getIsland(world, topTen.getKey());
|
||||
if (island != null) {
|
||||
rank++;
|
||||
String item = user.getTranslation("admin.topten",
|
||||
user.sendMessage("admin.top.display",
|
||||
"[rank]",
|
||||
"[name]",
|
||||
"[level]",
|
||||
String.valueOf(rank),
|
||||
"[name]",
|
||||
this.getPlugin().getPlayers().getUser(island.getOwner()).getName(),
|
||||
"[level]",
|
||||
String.valueOf(topTen.getValue()));
|
||||
user.sendRawMessage(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ admin:
|
||||
top:
|
||||
description: "show the top ten list"
|
||||
unknown-world: "&cUnknown world!"
|
||||
topten: "[rank]. [name] - island level = [level]"
|
||||
display: "&f[rank]. &a[name] &7- &b[level]"
|
||||
|
||||
island:
|
||||
level:
|
||||
|
Loading…
Reference in New Issue
Block a user