mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-23 22:00:10 +08:00
fix fuzzy compare rate
This commit is contained in:
parent
7aeb831663
commit
19fc7a97bc
@ -138,7 +138,6 @@ inline fun <T:Any> Collection<T>.fuzzySearchOnly(
|
||||
var collide = 0
|
||||
this.forEach {
|
||||
with(index(it).fuzzyCompare(target)) {
|
||||
println(index(it) + "->" + this)
|
||||
if (this > rate) {
|
||||
rate = this
|
||||
potential = it
|
||||
|
Loading…
Reference in New Issue
Block a user