This commit is contained in:
MihailRis
2025-02-06 20:26:06 +03:00
parent b1740bf7eb
commit 4306573320
7 changed files with 26 additions and 24 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ void SlotView::performLeftClick(ItemStack& stack, ItemStack& grabbed) {
return;
}
if (!layout.itemSource && stack.accepts(grabbed) && layout.placing) {
stack.move(grabbed, content->getIndices());
stack.move(grabbed, *content->getIndices());
} else {
if (layout.itemSource) {
if (grabbed.isEmpty()) {