Fix power flowing thorough covers
This commit is contained in:
parent
66ce8d3a47
commit
5fc5aa1e05
1 changed files with 2 additions and 2 deletions
|
@ -496,13 +496,13 @@ public class CablePart extends ModPart implements IEnergyConductor, INetworkTile
|
||||||
@Override
|
@Override
|
||||||
public boolean acceptsEnergyFrom(TileEntity tileEntity,
|
public boolean acceptsEnergyFrom(TileEntity tileEntity,
|
||||||
ForgeDirection forgeDirection) {
|
ForgeDirection forgeDirection) {
|
||||||
return true;
|
return connectedSides.containsKey(forgeDirection);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean emitsEnergyTo(TileEntity tileEntity,
|
public boolean emitsEnergyTo(TileEntity tileEntity,
|
||||||
ForgeDirection forgeDirection) {
|
ForgeDirection forgeDirection) {
|
||||||
return true;
|
return connectedSides.containsKey(forgeDirection);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue