Separated smelt and remove mode to prevent harvesting issues

This commit is contained in:
Robert S 2014-05-06 02:12:25 -04:00
parent 434ee0cbc3
commit 433fcc31e4

View file

@ -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);