Switch from using the playerswitchworldevent to playerteleportevent, as the world event is called AFTER the teleport event therefore safer to use the inital event.