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 83caf38 commit 9a8a8a7Copy full SHA for 9a8a8a7
src/main/kotlin/com/lambda/interaction/material/container/ContainerManager.kt
@@ -124,7 +124,7 @@ object ContainerManager : Loadable {
124
.filter { inventory.containerSelection.matches(it) }
125
126
fun findDisposable(inventory: InventoryConfig = TaskFlowModule.inventory) = container().find { container ->
127
- inventory.disposables.any { container.materialAvailable(it.asItem().select()) >= 0 }
+ inventory.disposables.any { container.materialAvailable(it.asItem().select()) > 0 }
128
}
129
130
class NoContainerFound(selection: StackSelection) : Exception("No container found matching $selection")
0 commit comments