Formatting, remove redundant setSpawnLocation and use setCancelled()