From cb854bebda01a78931ec65169c6a4a01e83dde5b Mon Sep 17 00:00:00 2001 From: Rseifert Date: Thu, 7 Feb 2013 01:50:36 -0500 Subject: [PATCH] Removed break on rotation --- .../machine/TileEntityAssemblyNetwork.java | 2 +- .../machine/armbot/TileEntityArmbot.java | 27 ------------------- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/src/minecraft/assemblyline/common/machine/TileEntityAssemblyNetwork.java b/src/minecraft/assemblyline/common/machine/TileEntityAssemblyNetwork.java index 7c39f95c..144714d3 100644 --- a/src/minecraft/assemblyline/common/machine/TileEntityAssemblyNetwork.java +++ b/src/minecraft/assemblyline/common/machine/TileEntityAssemblyNetwork.java @@ -15,7 +15,7 @@ import universalelectricity.prefab.network.PacketManager; */ public abstract class TileEntityAssemblyNetwork extends TIC2Receiver { - public boolean debugMode = false; + public boolean debugMode = true; /** * The range in which power can be transfered. */ diff --git a/src/minecraft/assemblyline/common/machine/armbot/TileEntityArmbot.java b/src/minecraft/assemblyline/common/machine/armbot/TileEntityArmbot.java index 364543b9..ab884ffd 100644 --- a/src/minecraft/assemblyline/common/machine/armbot/TileEntityArmbot.java +++ b/src/minecraft/assemblyline/common/machine/armbot/TileEntityArmbot.java @@ -122,33 +122,6 @@ public class TileEntityArmbot extends TileEntityAssemblyNetwork implements IMult { if (FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER) { - /** - * Break the block if the hand hits a solid block. - */ - Block block = Block.blocksList[handPosition.getBlockID(this.worldObj)]; - - if (block != null) - { - if (Block.isNormalCube(block.blockID) && block.getBlockHardness(this.worldObj, handPosition.intX(), handPosition.intY(), handPosition.intZ()) != -1) - { - TileEntity tileEntity = this.getHandPosition().getTileEntity(this.worldObj); - - if (tileEntity == null) - { - if (!this.worldObj.isRemote) - { - block.dropBlockAsItem(this.worldObj, handPosition.intX(), handPosition.intY(), handPosition.intZ(), handPosition.getBlockMetadata(this.worldObj), 0); - } - - handPosition.setBlockWithNotify(this.worldObj, 0); - } - else if (!(tileEntity instanceof IArmbotUseable)) - { - handPosition.setBlockWithNotify(this.worldObj, 0); - } - } - } - if (this.disk == null && this.computersAttached == 0) { this.commandManager.clear();