mirror of
https://github.com/jie65535/mirai-console-jhr-plugin.git
synced 2025-06-02 17:39:16 +08:00
修复 白给榜顺序错误问题
This commit is contained in:
parent
83e704f43e
commit
21767d233c
@ -478,7 +478,7 @@ object JHorseRacing : KotlinPlugin(
|
|||||||
val msgB = MessageChainBuilder(11)
|
val msgB = MessageChainBuilder(11)
|
||||||
msgB.append("白给榜\n")
|
msgB.append("白给榜\n")
|
||||||
JHRPluginData.playerStat.entries.filter { subject.contains(it.key) }
|
JHRPluginData.playerStat.entries.filter { subject.contains(it.key) }
|
||||||
.sortedByDescending { it.value.totalLossScore }
|
.sortedBy { it.value.totalLossScore }
|
||||||
.take(10)
|
.take(10)
|
||||||
.onEach {
|
.onEach {
|
||||||
msgB.append("| ${it.value.totalLossScore} | ${subject[it.key]!!.nameCardOrNick}\n")
|
msgB.append("| ${it.value.totalLossScore} | ${subject[it.key]!!.nameCardOrNick}\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user