Added code to stop crashes when trying to teleport a clientid higher than 31.