mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-28 11:37:39 +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;
|
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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user