From 433fcc31e459073cc2a2af85423fc407ba83f2ee Mon Sep 17 00:00:00 2001 From: Robert S Date: Tue, 6 May 2014 02:12:25 -0400 Subject: [PATCH] Separated smelt and remove mode to prevent harvesting issues --- .../resonantinduction/electrical/laser/gun/ItemMiningLaser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrical/src/main/scala/resonantinduction/electrical/laser/gun/ItemMiningLaser.java b/electrical/src/main/scala/resonantinduction/electrical/laser/gun/ItemMiningLaser.java index 45fd8e4a2..a25298dff 100644 --- a/electrical/src/main/scala/resonantinduction/electrical/laser/gun/ItemMiningLaser.java +++ b/electrical/src/main/scala/resonantinduction/electrical/laser/gun/ItemMiningLaser.java @@ -144,7 +144,7 @@ public class ItemMiningLaser extends ItemEnergyTool mined = true; miningMap.remove(player); } - else if (this.getMode(stack) == MODE_REMOVE || this.getMode(stack) == MODE_SMELT) + else if (this.getMode(stack) == MODE_SMELT) { //TODO get the actual hit side from the angle of the ray trace LaserEvent.onLaserHitBlock(player.worldObj, player, new Vector3(hit), ForgeDirection.UP);