Epic Fight

Epic Fight

13M Downloads

[1.12.2] Creative tab at 12th index gets overridden by Epic Fight Mod's tab

bl4ckscor3 opened this issue ยท 1 comments

commented

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):

  1. Install a mod which adds a creative tab like SecurityCraft (which adds 3 creative tabs) alongside Epic Fight Mod
  2. 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):
Expected

Actual behavior: Only three creative tabs show up (one from this mod, two from SecurityCraft):
Actual

This is easily fixable by changing the 12 in this line to CreativeTabs.getNextID()

public static final CreativeTabs ITEMS = new CreativeTabs(12, "items") {

Epic Fight Mod version: 2.2.4

commented

Fixed in 2.2.5