mirror of
https://gitlab.com/cable-mc/cobblemon.git
synced 2026-10-27 04:26:27 -04:00
Update AbilityTypeChanger.kt
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ open class AbilityTypeChanger<T : PotentialAbility>(
|
||||
|
||||
return pokemon.form.abilities
|
||||
.filter { it.type == targetType && it.template != pokemon.ability.template }
|
||||
.map { Pair(it.template, it.priority) }
|
||||
.map { it.template to it.priority }
|
||||
.toSet()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user