mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
Fix scoreboard numbering being off
This commit is contained in:
parent
fb3363661b
commit
2bed26f18a
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user