mirror of
https://github.com/Auxilor/EcoSkills.git
synced 2025-12-27 19:09:11 +00:00
- fix mistakes
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user