[1.12.2] Creative tab at 12th index gets overridden by Epic Fight Mod's tab
bl4ckscor3 opened this issue ยท 1 comments
Epic Fight Mod forces its creative tab to always be at index 12 (the first position on the second page) in the creative menu. This leads to whatever creative tab was at that position before to not show up at all.
How to reproduce (Do note, that I am only using SecurityCraft as an example here. This bug can happen with any mod's creative tab):
- Install a mod which adds a creative tab like SecurityCraft (which adds 3 creative tabs) alongside Epic Fight Mod
- Observe that Epic Fight Mod's creative tab shows up as the first tab on the second page, but in this case, SecurityCraft's technical tab does not show up.
Expected behavior: All four creative tabs show up (one from this mod, three from SecurityCraft):
Actual behavior: Only three creative tabs show up (one from this mod, two from SecurityCraft):
This is easily fixable by changing the 12
in this line to CreativeTabs.getNextID()
https://github.com/Yesssssman/epicfightmod/blob/52d42de785fc1be86e03b8f3c1e86b9402c50715/main/java/maninthehouse/epicfight/item/EpicFightItemGroup.java#L9
Epic Fight Mod version: 2.2.4