added limitation where player cannot perform actions when sliding, jumping, or sprinting