InstanceOf check to avoid issues with railcraft.
This commit is contained in:
parent
611627519d
commit
44683793f6
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
|
|||
EnumSet<ForgeDirection> sides = acceptorDirections.get(coord);
|
||||
TileEntity tile = coord.getTileEntity(getWorld());
|
||||
|
||||
if(sides == null || sides.isEmpty())
|
||||
if(sides == null || sides.isEmpty() || !(tile instanceof IFluidHandler))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue