We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20a7846 commit 36f1034Copy full SHA for 36f1034
1 file changed
common/src/main/kotlin/com/lambda/interaction/material/container/containers/MainHandContainer.kt
@@ -43,8 +43,11 @@ object MainHandContainer : MaterialContainer(Rank.MAIN_HAND) {
43
override val name: String get() = "Depositing [$selection] to ${hand.name.lowercase().replace("_", " ")}"
44
45
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
48
val moveStack = InventoryContainer.matchingStacks(selection).firstOrNull() ?: run {
- failure("No matching stacks found in inventory")
49
+ success()
50
+ //failure("No matching stacks found in inventory")
51
return
52
}
53
0 commit comments