May as well harvest non-rubber trees if we're in tapping mode rather
than keep looping over them!
This commit is contained in:
parent
d82963121a
commit
5a14012e80
1 changed files with 11 additions and 0 deletions
|
@ -141,6 +141,17 @@ public class TileEntityLaserTreeFarm extends TileEntityAbstractMiner implements
|
|||
else
|
||||
delayMul = 1;
|
||||
}
|
||||
else if(isLog(blockID))
|
||||
{
|
||||
if(collectEnergyPacketFromBooster(cost,false))
|
||||
{
|
||||
delayMul = 4;
|
||||
totalHarvested++;
|
||||
harvestBlock(pos);
|
||||
}
|
||||
else
|
||||
return;
|
||||
}
|
||||
else if(isLeaf(blockID))
|
||||
{
|
||||
if(collectEnergyPacketFromBooster(cost,true))
|
||||
|
|
Loading…
Reference in a new issue