Always do early returns in these cases. Less indentation for that means easier to read. Ie:

`````
if (!player)
  return;
`````