From 2bed26f18ad6bec2a1f45ac536624e1066d1b245 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Sun, 19 Jun 2016 17:47:38 -0400 Subject: [PATCH] Fix scoreboard numbering being off --- .../gmail/nossr50/util/scoreboards/ScoreboardWrapper.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java b/src/main/java/com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java index 7baea9242..a5f0b19b5 100644 --- a/src/main/java/com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java +++ b/src/main/java/com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java @@ -351,8 +351,8 @@ public class ScoreboardWrapper { targetPlayer = null; targetProfile = null; - int endPosition = page * 15; - int startPosition = endPosition - 14; + int endPosition = page * 10; + int startPosition = endPosition - 9; loadObjective(String.format("%s (%2d - %2d)", ScoreboardManager.POWER_LEVEL, startPosition, endPosition)); } @@ -364,8 +364,8 @@ public class ScoreboardWrapper { targetPlayer = null; targetProfile = null; - int endPosition = page * 15; - int startPosition = endPosition - 14; + int endPosition = page * 10; + int startPosition = endPosition - 9; loadObjective(String.format("%s (%2d - %2d)", ScoreboardManager.skillLabels.get(skill), startPosition, endPosition)); }