If your candy bar had white spots on the outside it was probably
not moldy. Stale chocolate will develop bloom which is just the fat
seeping out of the emultion. The peanut butter inside would have
been stabilized and is also unlikely to have gone moldy. You will
be fine.