This commit is contained in:
DarkGuardsman 2013-08-24 08:03:25 -04:00
parent 9fcf0a9a1f
commit b2eeb365b4
3 changed files with 8 additions and 5 deletions

View file

@ -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();
}
}

View file

@ -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);

View file

@ -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;
}
}