Result rows start at 1 not 0

This commit is contained in:
T00thpick1 2013-01-12 23:24:35 -05:00
parent 4fb7d60eee
commit 6ed0038b1e

View File

@ -145,7 +145,7 @@ public class MctopCommand implements CommandExecutor {
sender.sendMessage(LocaleLoader.getString("Commands.Skill.Leaderboard", new Object[] { Misc.getCapitalized(query) }));
}
int place = (page * 10) - 9;
for (int i =0; i < 10; i++) {
for (int i = 1; i <= 10; i++) {
if(userslist.get(i) == null) {
break;
}