mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 11:05:40 +00:00
Fix up test mods (#4399)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user