From 694f78599e0f7cb9b590264fd7b3ac8cb9a55ac1 Mon Sep 17 00:00:00 2001 From: bjin Date: Wed, 8 Nov 2023 01:37:10 +0800 Subject: [PATCH] Fix creative tab NPE --- .../github/technus/tectech/loader/gui/CreativeTabTecTech.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/github/technus/tectech/loader/gui/CreativeTabTecTech.java b/src/main/java/com/github/technus/tectech/loader/gui/CreativeTabTecTech.java index 5928e1f50..56a125b8f 100644 --- a/src/main/java/com/github/technus/tectech/loader/gui/CreativeTabTecTech.java +++ b/src/main/java/com/github/technus/tectech/loader/gui/CreativeTabTecTech.java @@ -7,7 +7,7 @@ import net.minecraft.item.ItemStack; import com.github.technus.tectech.thing.CustomItemList; -import com.github.technus.tectech.thing.casing.GT_Block_CasingsTT; +import com.github.technus.tectech.thing.casing.TT_Container_Casings; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @@ -22,7 +22,7 @@ public CreativeTabTecTech(String name) { @SideOnly(Side.CLIENT) @Override public Item getTabIconItem() { - return Item.getItemFromBlock(GT_Block_CasingsTT.getBlockById(0)); // High power casing + return Item.getItemFromBlock(TT_Container_Casings.sBlockCasingsTT); // High power casing } @Override