Fix pets not coming back on respawn

You need to make it wait a bit after the player respawn, otherwise the pet isn't there when the player respawns.
Fix formatting
Merge pull request #347 from VoidWhisperer/master

Fix pets not coming back on respawn