changed creative tab loading

This commit is contained in:
Robert 2013-12-12 22:01:41 -05:00
parent d7a25fae49
commit 1d3a8f1d5b
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ public class FluidMech extends ModPrefab
FMLog.info(" Loaded: " + TranslationHelper.loadLanguages(LANGUAGE_PATH, LANGUAGES_SUPPORTED) + " Languages.");
if (FMRecipeLoader.blockPipe instanceof BlockPipe)
{
DMCreativeTab.tabHydrualic.setIconItemStack(FluidPartsMaterial.IRON.getStack());
DMCreativeTab.tabHydraulic().setIconItemStack(FluidPartsMaterial.IRON.getStack());
}
}

View file

@ -11,6 +11,6 @@ public abstract class BlockFM extends BlockMachine
public BlockFM(Class<? extends BlockFM> blockClass, String name, Material material)
{
super(new BlockBuildData(blockClass, name, material).setConfigProvider(FluidMech.CONFIGURATION).setCreativeTab(DMCreativeTab.tabHydrualic));
super(new BlockBuildData(blockClass, name, material).setConfigProvider(FluidMech.CONFIGURATION).setCreativeTab(DMCreativeTab.tabHydraulic()));
}
}