mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Increment place for display
This commit is contained in:
parent
7bea8f5120
commit
07c9b614bc
@ -147,6 +147,7 @@ public class MctopCommand implements CommandExecutor {
|
|||||||
int place = ((page * 10) - 9);
|
int place = ((page * 10) - 9);
|
||||||
for (ArrayList<String> entry : userslist.values()) {
|
for (ArrayList<String> entry : userslist.values()) {
|
||||||
sender.sendMessage(String.valueOf(place) + ". " + ChatColor.GREEN + entry.get(1) + " - " + ChatColor.WHITE + entry.get(0));
|
sender.sendMessage(String.valueOf(place) + ". " + ChatColor.GREEN + entry.get(1) + " - " + ChatColor.WHITE + entry.get(0));
|
||||||
|
place++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user