Fixed some gutter connections

This commit is contained in:
Calclavia 2014-02-28 11:28:29 +08:00
parent d8350d3fae
commit 84bc0419b0

View file

@ -114,7 +114,7 @@ public class TileGutter extends TileFluidNetwork implements IFluidPipe
@Override
public int fill(ForgeDirection from, FluidStack resource, boolean doFill)
{
if (resource.getFluid().isGaseous())
if (!resource.getFluid().isGaseous())
{
int fill = getInternalTank().fill(resource, doFill);
onFluidChanged();
@ -143,12 +143,12 @@ public class TileGutter extends TileFluidNetwork implements IFluidPipe
@Override
public boolean canFill(ForgeDirection from, Fluid fluid)
{
return from != ForgeDirection.UP && fluid.isGaseous();
return from != ForgeDirection.UP && !fluid.isGaseous();
}
@Override
public boolean canDrain(ForgeDirection from, Fluid fluid)
{
return from != ForgeDirection.UP && fluid.isGaseous();
return from != ForgeDirection.UP && !fluid.isGaseous();
}
}