9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-28 11:29:20 +00:00

libreforge-updater

This commit is contained in:
Auxilor
2024-04-15 18:20:29 +01:00
parent 791161fa3a
commit 56e0c05043
2 changed files with 4 additions and 4 deletions

View File

@@ -11,6 +11,6 @@ object ReforgeFinder : ItemHolderFinder<Reforge>() {
}
override fun isValidInSlot(holder: Reforge, slot: SlotType): Boolean {
return slot in holder.targets.map { it.slot }.toSet()
return holder.targets.map { it.slot }.any { it.isOrContains(slot) }
}
}