Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Fix creative tab NPE #253

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down