9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2025-12-27 19:09:11 +00:00

- fix mistakes

This commit is contained in:
Kapitowa
2024-07-06 13:50:19 +03:00
parent 00ca55a629
commit 94bfa39b65
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ class CommandTop(plugin: EcoPlugin) :
}
val start = (page - 1) * 10 + 1
val end = start + 9 + (page - 1)
val end = start + 9
val positions = (start..end).toList()
val top = if (skill == null) {

View File

@@ -111,7 +111,7 @@ class GainXPDisplay(
)
.replace("%current_xp%", event.player.getSkillXP(event.skill).toNiceString())
.replace("%required_xp%", event.player.getFormattedRequiredXP(event.skill))
.replace("%gained_xp%", gainCache.get(event.player.uniqueId) { event.skill.id to 0.0 }.toNiceString())
.replace("%gained_xp%", gainCache.get(event.player.uniqueId) { event.skill.id to 0.0 }.second.toNiceString())
.formatEco(
placeholderContext(
event.player,