Separated smelt and remove mode to prevent harvesting issues
This commit is contained in:
parent
434ee0cbc3
commit
433fcc31e4
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ public class ItemMiningLaser extends ItemEnergyTool
|
||||||
mined = true;
|
mined = true;
|
||||||
miningMap.remove(player);
|
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
|
//TODO get the actual hit side from the angle of the ray trace
|
||||||
LaserEvent.onLaserHitBlock(player.worldObj, player, new Vector3(hit), ForgeDirection.UP);
|
LaserEvent.onLaserHitBlock(player.worldObj, player, new Vector3(hit), ForgeDirection.UP);
|
||||||
|
|
Loading…
Reference in a new issue