diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/jobs/Job.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/jobs/Job.kt index 6eef1a5..478934a 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/jobs/Job.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecojobs/jobs/Job.kt @@ -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)