Fix scoreboard numbering being off

This commit is contained in:
t00thpick1 2016-06-19 17:47:38 -04:00
parent fb3363661b
commit 2bed26f18a

View File

@ -351,8 +351,8 @@ public class ScoreboardWrapper {
targetPlayer = null; targetPlayer = null;
targetProfile = null; targetProfile = null;
int endPosition = page * 15; int endPosition = page * 10;
int startPosition = endPosition - 14; int startPosition = endPosition - 9;
loadObjective(String.format("%s (%2d - %2d)", ScoreboardManager.POWER_LEVEL, startPosition, endPosition)); loadObjective(String.format("%s (%2d - %2d)", ScoreboardManager.POWER_LEVEL, startPosition, endPosition));
} }
@ -364,8 +364,8 @@ public class ScoreboardWrapper {
targetPlayer = null; targetPlayer = null;
targetProfile = null; targetProfile = null;
int endPosition = page * 15; int endPosition = page * 10;
int startPosition = endPosition - 14; int startPosition = endPosition - 9;
loadObjective(String.format("%s (%2d - %2d)", ScoreboardManager.skillLabels.get(skill), startPosition, endPosition)); loadObjective(String.format("%s (%2d - %2d)", ScoreboardManager.skillLabels.get(skill), startPosition, endPosition));
} }