mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-27 15:23:12 +00:00
New Curios-Inspired GUI (#13)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user