This commit is contained in:
DianeXD committed 2022-06-10 00:48:19 +08:00
1 parent 057e3e7a34
commit 261ebc4125
1 file changed
+1 -1
@@ -243,7 +243,7 @@ public class ModuleNEI
@Override
public boolean handleDragNDrop(GuiContainer gui, int mousex, int mousey, ItemStack draggedStack, int button) {
if (gui instanceof ThEBaseGui && draggedStack != null && draggedStack.getItem() != null) {
((ThEBaseGui) gui).draggedStack = draggedStack.copy();
((ThEBaseGui) gui).draggedStack = draggedStack;
draggedStack.stackSize = 0;
}