Fix the draining issue

This commit is contained in:
Ben Spiers 2015-04-12 00:09:35 +01:00
parent 17e1cea25a
commit d73eed2865

View file

@ -127,6 +127,11 @@ public final class CableUtils
*/ */
public static boolean isValidAcceptorOnSide(TileEntity cableEntity, TileEntity tile, ForgeDirection side) public static boolean isValidAcceptorOnSide(TileEntity cableEntity, TileEntity tile, ForgeDirection side)
{ {
if(isCable(tile))
{
return false;
}
if(isEnergyAcceptor(tile) && isConnectable(cableEntity, tile, side)) if(isEnergyAcceptor(tile) && isConnectable(cableEntity, tile, side))
{ {
return true; return true;