misc
This commit is contained in:
parent
9fcf0a9a1f
commit
b2eeb365b4
3 changed files with 8 additions and 5 deletions
|
@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue