diff options
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt b/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt index 3f6ac75..1e5ae4c 100644 --- a/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt +++ b/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt @@ -77,7 +77,7 @@ object SBItemEntryDefinition : EntryDefinition<SBItemStack> { override fun hash(entry: EntryStack<SBItemStack>, value: SBItemStack, context: ComparisonContext): Long { // Repo items are immutable, and get replaced entirely when loaded from disk - return value.skyblockId.hashCode() * 31L + if (!context.isExact) value.stackSize else 0 + return value.skyblockId.hashCode() * 31L } override fun wildcard(entry: EntryStack<SBItemStack>?, value: SBItemStack): SBItemStack { |