From 24f436b0667cdfccd02baf1fc83de1afc1d5d77b Mon Sep 17 00:00:00 2001 From: Dragon2488 Date: Sat, 17 Dec 2016 00:28:09 +0700 Subject: [PATCH] Crash with latest IC2 fix. (again?) --- src/main/java/gregtech/api/enums/ItemList.java | 3 --- .../gregtech/loaders/postload/GT_ItemMaxStacksizeLoader.java | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/gregtech/api/enums/ItemList.java b/src/main/java/gregtech/api/enums/ItemList.java index 4374ad93..95e3c086 100644 --- a/src/main/java/gregtech/api/enums/ItemList.java +++ b/src/main/java/gregtech/api/enums/ItemList.java @@ -373,10 +373,7 @@ public enum ItemList implements IItemContainer { ZPM, Fuel_Can_Plastic_Empty, Fuel_Can_Plastic_Filled, - Upgrade_Battery, - Upgrade_Overclocker, Upgrade_Muffler, - Upgrade_SteamEngine, Upgrade_Lock, Cover_Controller, Cover_ActivityDetector, diff --git a/src/main/java/gregtech/loaders/postload/GT_ItemMaxStacksizeLoader.java b/src/main/java/gregtech/loaders/postload/GT_ItemMaxStacksizeLoader.java index 9bdec358..107b61e4 100644 --- a/src/main/java/gregtech/loaders/postload/GT_ItemMaxStacksizeLoader.java +++ b/src/main/java/gregtech/loaders/postload/GT_ItemMaxStacksizeLoader.java @@ -1,7 +1,5 @@ package gregtech.loaders.postload; -import gregtech.GT_Mod; -import gregtech.api.enums.ItemList; import gregtech.api.enums.OrePrefixes; import gregtech.api.util.GT_Log; import net.minecraft.init.Blocks; @@ -13,7 +11,7 @@ public class GT_ItemMaxStacksizeLoader public void run() { GT_Log.out.println("GT_Mod: Changing maximum Stacksizes if configured."); - ItemList.Upgrade_Overclocker.getItem().setMaxStackSize(GT_Mod.gregtechproxy.mUpgradeCount); + //ItemList.Upgrade_Overclocker.getItem().setMaxStackSize(GT_Mod.gregtechproxy.mUpgradeCount); Items.CAKE.setMaxStackSize(64); Items.OAK_DOOR.setMaxStackSize(8); Items.IRON_DOOR.setMaxStackSize(8);