improve container gui
This commit is contained in:
parent
f63ec691eb
commit
581a6215ff
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ public abstract class GuiContainer extends Gui
|
|||
x = leftX + border + (n % slotsWidth) * (32 + (invLeft ? 0 : border + gap + border));
|
||||
y = leftY + header + border + (n / slotsWidth) * (32 + (invLeft ? 0 : border + gap + border));
|
||||
if(invLeft) {
|
||||
w = slotsWidth;
|
||||
w = leftSlots < slotsWidth ? leftSlots : slotsWidth;
|
||||
h = leftSlotsHeight;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue