9
0
mirror of https://github.com/Auxilor/EcoJobs.git synced 2026-01-06 15:51:59 +00:00
This commit is contained in:
NicoNeko
2025-12-20 19:59:58 +02:00
parent c03e486e10
commit 803c12f50f

View File

@@ -191,7 +191,7 @@ class Job(
plugin, "${id}_leaderboard_rank"
) { player ->
val emptyPosition = plugin.langYml.getString("top.empty-position")
val position = getPosition(this, player.uniqueId)
val position = getPosition(player.uniqueId)
position?.toString() ?: emptyPosition
}.register()
}
@@ -333,7 +333,7 @@ class Job(
.replace("%leave_price%", this.leavePrice.getDisplay(player))
.replace(
"%rank%",
getPosition(this, player.uniqueId)?.toString() ?: plugin.langYml.getString("top.empty-position")
getPosition(player.uniqueId)?.toString() ?: plugin.langYml.getString("top.empty-position")
)
val level = forceLevel ?: player.getJobLevel(this)