1
0
Fork 0

improve container gui

This commit is contained in:
Sen 2025-09-07 19:05:22 +02:00
parent f63ec691eb
commit 581a6215ff
Signed by: sen
GPG key ID: 3AC50A6F47D1B722

View file

@ -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;
}
}