File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
common/src/main/kotlin/com/lambda/interaction/material/container/containers Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,11 @@ object MainHandContainer : MaterialContainer(Rank.MAIN_HAND) {
4343 override val name: String get() = " Depositing [$selection ] to ${hand.name.lowercase().replace(" _" , " " )} "
4444
4545 override fun SafeContext.onStart () {
46+ // FixMe: If the player tries to deposit from the CreativeInventory to the main hand, this fails
47+ // because we check if the player has the matching stack in its regular inventory, and this never happen
4648 val moveStack = InventoryContainer .matchingStacks(selection).firstOrNull() ? : run {
47- failure(" No matching stacks found in inventory" )
49+ success()
50+ // failure("No matching stacks found in inventory")
4851 return
4952 }
5053
You can’t perform that action at this time.
0 commit comments