Fix power flowing thorough covers

This commit is contained in:
modmuss50 2015-06-26 08:25:51 +01:00
parent 66ce8d3a47
commit 5fc5aa1e05

View file

@ -496,13 +496,13 @@ public class CablePart extends ModPart implements IEnergyConductor, INetworkTile
@Override
public boolean acceptsEnergyFrom(TileEntity tileEntity,
ForgeDirection forgeDirection) {
return true;
return connectedSides.containsKey(forgeDirection);
}
@Override
public boolean emitsEnergyTo(TileEntity tileEntity,
ForgeDirection forgeDirection) {
return true;
return connectedSides.containsKey(forgeDirection);
}
@Override