Increment place for display

This commit is contained in:
T00thpick1 2013-01-12 21:29:28 -05:00
parent 7bea8f5120
commit 07c9b614bc

View File

@ -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++;
} }
} }
} }