From 7b298ee3014f1acd75c892c89b99e8b69dbdb90f Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Mon, 25 Aug 2014 20:22:32 -0500 Subject: [PATCH] Molecular Assemblers Should not have passive drain. --- tile/crafting/TileMolecularAssembler.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tile/crafting/TileMolecularAssembler.java b/tile/crafting/TileMolecularAssembler.java index 1f32fe7be..004942c31 100644 --- a/tile/crafting/TileMolecularAssembler.java +++ b/tile/crafting/TileMolecularAssembler.java @@ -248,6 +248,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn public TileMolecularAssembler() { settings.registerSetting( Settings.REDSTONE_CONTROLLED, RedstoneMode.IGNORE ); inv.setMaxStackSize( 1 ); + gridProxy.setIdlePowerUsage( 0.0 ); addNewHandler( new TileMolecularAssemblerHandler() ); } @@ -399,9 +400,9 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn if ( reboot ) TicksSinceLastCall = 1; - if ( ! isAwake ) + if ( !isAwake ) return TickRateModulation.SLEEP; - + reboot = false; int speed = 10; switch (upgrades.getInstalledUpgrades( Upgrades.SPEED )) @@ -479,7 +480,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn ItemStack is = inv.getStackInSlot( x ); if ( is != null ) { - if ( myPlan == null || ! myPlan.isValidItemForSlot( x, is, worldObj ) ) + if ( myPlan == null || !myPlan.isValidItemForSlot( x, is, worldObj ) ) { inv.setInventorySlotContents( 9, is ); inv.setInventorySlotContents( x, null );