From 1d1251d92ae759d137e89a68b2f515d4dbe66822 Mon Sep 17 00:00:00 2001 From: LexManos Date: Fri, 19 Oct 2012 18:56:56 -0700 Subject: [PATCH] Remove some test code. --- .../net/minecraft/src/CreativeTabs.java.patch | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/patches/common/net/minecraft/src/CreativeTabs.java.patch b/patches/common/net/minecraft/src/CreativeTabs.java.patch index 265e1793c8..984be3a10b 100644 --- a/patches/common/net/minecraft/src/CreativeTabs.java.patch +++ b/patches/common/net/minecraft/src/CreativeTabs.java.patch @@ -15,7 +15,7 @@ public static final CreativeTabs tabBlock = new CreativeTabBlock(0, "buildingBlocks"); public static final CreativeTabs tabDecorations = new CreativeTabDeco(1, "decorations"); public static final CreativeTabs tabRedstone = new CreativeTabRedstone(2, "redstone"); -@@ -29,11 +31,32 @@ +@@ -29,8 +31,22 @@ /** Whether to draw the title in the foreground of the creative GUI */ private boolean drawTitle = true; @@ -38,17 +38,7 @@ this.tabIndex = par1; this.tabLabel = par2Str; creativeTabArray[par1] = this; -+ if (par1 == 11) -+ { -+ new CreativeTabs("1"); -+ new CreativeTabs("2"); -+ new CreativeTabs("3"); -+ new CreativeTabs("4"); -+ } - } - - @SideOnly(Side.CLIENT) -@@ -117,6 +140,10 @@ +@@ -117,6 +133,10 @@ */ public int getTabColumn() { @@ -59,7 +49,7 @@ return this.tabIndex % 6; } -@@ -127,6 +154,10 @@ +@@ -127,6 +147,10 @@ */ public boolean isTabInFirstRow() { @@ -70,7 +60,7 @@ return this.tabIndex < 6; } -@@ -150,4 +181,26 @@ +@@ -150,4 +174,26 @@ } } }