Only register the ServerTickHandler if autoDeploy is true