mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-26 23:03:07 +00:00
Added Empty/Unused Slot texture/Quick Docs on old layout (#27)
This commit is contained in:
1 parent
94bb06d393
commit
609200fac7
4 files changed
+62
-4
No files matched your search
@@ -5,6 +5,7 @@ import baubles.api.IBauble;
|
||||
import baubles.api.expanded.BaubleExpandedSlots;
|
||||
import baubles.api.expanded.IBaubleExpanded;
|
||||
import baubles.common.Baubles;
|
||||
import baubles.common.BaublesConfig;
|
||||
import baubles.common.ItemDebugger;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
@@ -77,9 +78,12 @@ public class SlotBauble extends Slot {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getBackgroundIconIndex() {
|
||||
if (!BaublesConfig.useOldGuiRendering && BaubleExpandedSlots.unknownType.equals(slotType)) {
|
||||
return null;
|
||||
}
|
||||
return ((ItemDebugger) Baubles.itemDebugger).getBackgroundIconForSlotType(slotType);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user