Fixes #2396 by using channels=0 for unpowered cables.
This commit is contained in:
parent
0408aadabc
commit
fdee124875
|
@ -390,6 +390,10 @@ public class PartCable extends AEBasePart implements IPartCable
|
|||
|
||||
public int getChannelsOnSide( EnumFacing side )
|
||||
{
|
||||
if( !powered )
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return this.channelsOnSide[side.ordinal()];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue