Fixed bug with logs, damage bugs hopefully