mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 18:27:37 +00:00
Custom GUI slot fix
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user