Added check for jumping off a cliff with a block