diff --git a/src/main/kotlin/com/github/encryptsl/lite/eco/common/hook/placeholderapi/EconomyPlaceholderAPI.kt b/src/main/kotlin/com/github/encryptsl/lite/eco/common/hook/placeholderapi/EconomyPlaceholderAPI.kt index 8f33e80..e3b4623 100644 --- a/src/main/kotlin/com/github/encryptsl/lite/eco/common/hook/placeholderapi/EconomyPlaceholderAPI.kt +++ b/src/main/kotlin/com/github/encryptsl/lite/eco/common/hook/placeholderapi/EconomyPlaceholderAPI.kt @@ -66,9 +66,6 @@ class EconomyPlaceholderAPI(private val liteEco: LiteEco, private val extVersion private fun topBalance(): LinkedHashMap { return liteEco.api.getTopBalance() .filterKeys { uuid -> Bukkit.getOfflinePlayer(UUID.fromString(uuid)).hasPlayedBefore() } - .toList() - .sortedByDescending { (_, balance) -> balance } - .toMap() .let { LinkedHashMap(it) } } }