Fixed resource harvesting bug.