Toggle Busses no longer use power.
This commit is contained in:
parent
08e6a656b8
commit
bfca3e04e0
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||||
public class PartToggleBus extends PartBasicState
|
public class PartToggleBus extends PartBasicState
|
||||||
{
|
{
|
||||||
|
|
||||||
AENetworkProxy outerProxy = new AENetworkProxy( this, "outer", proxy.getMachineRepresentation(), true );
|
AENetworkProxy outerProxy = new AENetworkProxy( this, "outer", null, true );
|
||||||
IGridConnection connection;
|
IGridConnection connection;
|
||||||
|
|
||||||
protected final int REDSTONE_FLAG = 4;
|
protected final int REDSTONE_FLAG = 4;
|
||||||
|
@ -66,6 +66,8 @@ public class PartToggleBus extends PartBasicState
|
||||||
|
|
||||||
public PartToggleBus(ItemStack is) {
|
public PartToggleBus(ItemStack is) {
|
||||||
this( PartToggleBus.class, is );
|
this( PartToggleBus.class, is );
|
||||||
|
proxy.setIdlePowerUsage( 0.0 );
|
||||||
|
outerProxy.setIdlePowerUsage( 0.0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
public PartToggleBus(Class cls, ItemStack is) {
|
public PartToggleBus(Class cls, ItemStack is) {
|
||||||
|
|
Loading…
Reference in a new issue