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.
2 parents a63fea2 + d32f6f5 commit fbe2756Copy full SHA for fbe2756
common/src/main/kotlin/com/lambda/interaction/material/container/containers/MainHandContainer.kt
@@ -63,7 +63,8 @@ object MainHandContainer : MaterialContainer(Rank.MAIN_HAND) {
63
64
when (moveStack) {
65
in player.hotbar -> swapToHotbarSlot(player.hotbar.indexOf(moveStack))
66
- in player.storage -> pickFromInventory(player.combined.indexOf(moveStack))
+ // ToDo: Use pickFromInventory
67
+ in player.storage -> swap(player.combined.indexOf(moveStack), 0)
68
}
69
70
if (hand == Hand.OFF_HAND) swapHands()
0 commit comments