Hi there I noticed that the amounts gathered were not being done properly because it is not accounting for the bonus when you finish mining/cutting.

private void OnDispenserBonus(ResourceDispenser dispenser, BasePlayer player, Item item)
        {

            if (player == null || player is NPCPlayer || dispenser == null)
                return;

            if (dispenser.gatherType == ResourceDispenser.GatherType.Tree && configData.ChallengeSettings[Challenges.WoodGathered].Enabled)
                AddPoints(player, Challenges.WoodGathered, item.amount);

            if (dispenser.gatherType == ResourceDispenser.GatherType.Ore && configData.ChallengeSettings[Challenges.RocksGathered].Enabled)
                AddPoints(player, Challenges.RocksGathered, item.amount);
        }​