changed creative tab loading
This commit is contained in:
parent
d7a25fae49
commit
1d3a8f1d5b
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ public class FluidMech extends ModPrefab
|
||||||
FMLog.info(" Loaded: " + TranslationHelper.loadLanguages(LANGUAGE_PATH, LANGUAGES_SUPPORTED) + " Languages.");
|
FMLog.info(" Loaded: " + TranslationHelper.loadLanguages(LANGUAGE_PATH, LANGUAGES_SUPPORTED) + " Languages.");
|
||||||
if (FMRecipeLoader.blockPipe instanceof BlockPipe)
|
if (FMRecipeLoader.blockPipe instanceof BlockPipe)
|
||||||
{
|
{
|
||||||
DMCreativeTab.tabHydrualic.setIconItemStack(FluidPartsMaterial.IRON.getStack());
|
DMCreativeTab.tabHydraulic().setIconItemStack(FluidPartsMaterial.IRON.getStack());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,6 @@ public abstract class BlockFM extends BlockMachine
|
||||||
|
|
||||||
public BlockFM(Class<? extends BlockFM> blockClass, String name, Material material)
|
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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue