We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09e1af3 commit b6042c8Copy full SHA for b6042c8
1 file changed
src/main/java/com/cleanroommc/modularui/screen/ModularContainer.java
@@ -189,6 +189,9 @@ public boolean canInteractWith(@NotNull EntityPlayer playerIn) {
189
}
190
return inventoryplayer.getItemStack();
191
192
+
193
+ if (slotId < 0) return ItemStack.EMPTY;
194
195
if (clickTypeIn == ClickType.QUICK_MOVE) {
196
Slot fromSlot = getSlot(slotId);
197
0 commit comments