diff --git a/src/minecraft/dark/fluid/common/FluidMech.java b/src/minecraft/dark/fluid/common/FluidMech.java index 4adcacbd..4d05f552 100644 --- a/src/minecraft/dark/fluid/common/FluidMech.java +++ b/src/minecraft/dark/fluid/common/FluidMech.java @@ -193,10 +193,7 @@ public class FluidMech extends ModPrefab /* ITEM DECLARATION */ FMRecipeLoader.itemParts = new ItemParts(FluidMech.CONFIGURATION.getItem("Parts", ITEM_ID_PREFIX++).getInt()); FMRecipeLoader.itemGauge = new ItemTools(FluidMech.CONFIGURATION.getItem("PipeGuage", ITEM_ID_PREFIX++).getInt()); - if (CONFIGURATION.hasChanged()) - { - CONFIGURATION.save(); - } + CONFIGURATION.save(); } diff --git a/src/minecraft/dark/fluid/common/item/ItemTools.java b/src/minecraft/dark/fluid/common/item/ItemTools.java index 05483f6c..e17e9e3a 100644 --- a/src/minecraft/dark/fluid/common/item/ItemTools.java +++ b/src/minecraft/dark/fluid/common/item/ItemTools.java @@ -54,7 +54,6 @@ public class ItemTools extends ItemBasic // pipe Guage if (meta == 0) { - if (blockEntity instanceof IToolReadOut) { String output = ((IToolReadOut) blockEntity).getMeterReading(player, ForgeDirection.getOrientation(side), EnumTools.PIPE_GUAGE); diff --git a/src/minecraft/dark/fluid/common/pump/TileEntityStarterPump.java b/src/minecraft/dark/fluid/common/pump/TileEntityStarterPump.java index 91e1eff7..71a1d454 100644 --- a/src/minecraft/dark/fluid/common/pump/TileEntityStarterPump.java +++ b/src/minecraft/dark/fluid/common/pump/TileEntityStarterPump.java @@ -19,6 +19,7 @@ import dark.api.fluid.IDrain; import dark.core.blocks.TileEntityMachine; import dark.core.helpers.FluidHelper; import dark.core.helpers.Pair; +import dark.fluid.common.FluidMech; public class TileEntityStarterPump extends TileEntityMachine implements IToolReadOut, ITileConnector { @@ -218,4 +219,10 @@ public class TileEntityStarterPump extends TileEntityMachine implements IToolRea return direction != ForgeDirection.DOWN; } + @Override + public String getChannel() + { + return FluidMech.CHANNEL; + } + }