Fix up test mods (#4399)

This commit is contained in:
Ben Staddon authored and mezz committed 2017-09-16 20:08:25 -07:00
1 parent 0ad4218bc2
commit 9717882563
9 files changed
+49 -27

No files matched your search

@@ -13,8 +13,9 @@ import net.minecraftforge.fml.relauncher.SideOnly;
public class DebugSearchTabs
{
public static final String MODID = "debugsearchtab";
static final boolean ENABLED = false;
public static final CreativeTabs SEARCH_TAB = new CreativeTabs(1, "searchtab")
public static final CreativeTabs SEARCH_TAB = !ENABLED ? null : new CreativeTabs(1, "searchtab")
{
@SideOnly(Side.CLIENT)
public ItemStack getTabIconItem()
@@ -23,8 +24,8 @@ public class DebugSearchTabs
}
@Override
public boolean hasSearchBar() {
public boolean hasSearchBar()
{
return true;
}