Fixed some gutter connections
This commit is contained in:
parent
d8350d3fae
commit
84bc0419b0
1 changed files with 3 additions and 3 deletions
|
@ -114,7 +114,7 @@ public class TileGutter extends TileFluidNetwork implements IFluidPipe
|
||||||
@Override
|
@Override
|
||||||
public int fill(ForgeDirection from, FluidStack resource, boolean doFill)
|
public int fill(ForgeDirection from, FluidStack resource, boolean doFill)
|
||||||
{
|
{
|
||||||
if (resource.getFluid().isGaseous())
|
if (!resource.getFluid().isGaseous())
|
||||||
{
|
{
|
||||||
int fill = getInternalTank().fill(resource, doFill);
|
int fill = getInternalTank().fill(resource, doFill);
|
||||||
onFluidChanged();
|
onFluidChanged();
|
||||||
|
@ -143,12 +143,12 @@ public class TileGutter extends TileFluidNetwork implements IFluidPipe
|
||||||
@Override
|
@Override
|
||||||
public boolean canFill(ForgeDirection from, Fluid fluid)
|
public boolean canFill(ForgeDirection from, Fluid fluid)
|
||||||
{
|
{
|
||||||
return from != ForgeDirection.UP && fluid.isGaseous();
|
return from != ForgeDirection.UP && !fluid.isGaseous();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canDrain(ForgeDirection from, Fluid fluid)
|
public boolean canDrain(ForgeDirection from, Fluid fluid)
|
||||||
{
|
{
|
||||||
return from != ForgeDirection.UP && fluid.isGaseous();
|
return from != ForgeDirection.UP && !fluid.isGaseous();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue