From 1d3a8f1d5baa274e973c373cb17cb4629183cdf8 Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 12 Dec 2013 22:01:41 -0500 Subject: [PATCH] changed creative tab loading --- src/dark/fluid/common/FluidMech.java | 2 +- src/dark/fluid/common/machines/BlockFM.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dark/fluid/common/FluidMech.java b/src/dark/fluid/common/FluidMech.java index 88ef7c03..38498544 100644 --- a/src/dark/fluid/common/FluidMech.java +++ b/src/dark/fluid/common/FluidMech.java @@ -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()); } } diff --git a/src/dark/fluid/common/machines/BlockFM.java b/src/dark/fluid/common/machines/BlockFM.java index 7babe248..334dd529 100644 --- a/src/dark/fluid/common/machines/BlockFM.java +++ b/src/dark/fluid/common/machines/BlockFM.java @@ -11,6 +11,6 @@ public abstract class BlockFM extends BlockMachine public BlockFM(Class 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())); } }