Fixed crash upon reading back player hooks