mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-23 15:50:30 +02:00
Fix scoreboard numbering being off
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user