This commit is contained in:
Auxilor 2023-04-27 18:52:41 +01:00
parent 77ca1551c3
commit f116763e63

View File

@ -30,7 +30,7 @@ data class ItemInNumericSlot internal constructor(
val slot: Int
) {
override fun hashCode(): Int {
return HashedItem.of(item).hash + (slot shl 31)
return HashedItem.of(item).hash * (slot + 1)
}
}