Custom GUI slot fix

This commit is contained in:
luisc committed 2022-01-14 15:06:25 -06:00
1 parent c28a9156d5
commit b0da137db5
1 file changed
+1 -3
@@ -537,9 +537,7 @@ public class GuiCustom extends GuiScreen implements ICustomScrollListener, IGuiD
this.field_146995_H = false;
if (mouseButton == 0 || mouseButton == 1 || flag) {
int i1 = guiLeft + ((ContainerCustomGui)this.inventorySlots).playerInvX;
int j1 = guiTop + ((ContainerCustomGui)this.inventorySlots).playerInvY;
boolean flag1 = true;// mouseX < i1 || mouseY < j1 || mouseX >= i1 + this.xSize || mouseY >= j1 + this.ySize;
boolean flag1 = true;
int k1 = -1;
for (int i = 0; i < this.inventorySlots.inventorySlots.size(); ++i)