fix(snapshots): check if the template exists first, not last

Fixes the server freezing when a player fires a weapon near another player. Also added stack trace to the promise fail.

Remember to put err.stack everywhere in fail functions! Throwing doesn't work, just a regular console.log with err.stack helps a ton

Also fixes the NPC's freezing in place.