We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9e01c commit 0a86b07Copy full SHA for 0a86b07
src/main/kotlin/com/lambda/module/modules/player/StackReplenish.kt
@@ -62,7 +62,7 @@ object StackReplenish : Module(
62
if (!stack.isStackable) return
63
64
player.inventoryStacks.forEach { invStack ->
65
- if (invStack.item !== stack.item) return@forEach
+ if (!ItemStack.areItemsAndComponentsEqual(invStack, stack)) return@forEach
66
val invId = invStack.slotId
67
val completing = stack.count + invStack.count >= stack.maxCount
68
val tooMany = invStack.count + stack.count > stack.maxCount
0 commit comments