mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-14 01:04:01 +00:00
Fixed a visual error in GUI rendering
This commit is contained in:
1 parent
44812c2feb
commit
a8f189bb78
2 files changed
+21
-14
No files matched your search
@@ -60,10 +60,9 @@ public class ContainerPlayerExpanded extends Container {
|
||||
//bauble slots
|
||||
for(i = 0; i < BaubleExpandedSlots.slotLimit; i++) {
|
||||
String slotType = BaubleExpandedSlots.getSlotType(i);
|
||||
if(!BaublesConfig.showUnusedSlots && slotType.equals(BaubleExpandedSlots.unknownType)) {
|
||||
continue;
|
||||
if(BaublesConfig.showUnusedSlots || !slotType.equals(BaubleExpandedSlots.unknownType)) {
|
||||
addSlotToContainer(new SlotBauble(baubles, slotType, i, slotStartX + (slotOffset * (i / 4)), slotStartY + (slotOffset * (i % 4))));
|
||||
}
|
||||
addSlotToContainer(new SlotBauble(baubles, slotType, i, slotStartX + (slotOffset * (i / 4)), slotStartY + (slotOffset * (i % 4))));
|
||||
}
|
||||
|
||||
//inventory slots
|
||||
|
||||
Reference in new issue
Block a user