Fixed an issue where player data was not being logged correctly.