New Curios-Inspired GUI (#13)

This commit is contained in:
koolkrafter5 authored and GitHub committed 2025-09-14 20:35:31 +02:00
1 parent 63833f2fbb
commit b57a7a1dd6
13 files changed
+704 -322

No files matched your search

@@ -4,6 +4,7 @@ import java.util.ArrayList;
import java.util.Arrays;
import baubles.api.BaubleType;
import baubles.common.BaublesConfig;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.LoaderState;
@@ -227,7 +228,7 @@ public class BaubleExpandedSlots {
* @return The number of bauble slots currently used.
*/
public static int slotsCurrentlyUsed() {
return slotLimit - newSlotsRemaining;
return BaublesConfig.showUnusedSlots ? BaubleExpandedSlots.slotLimit : slotLimit - newSlotsRemaining;
}
/**