Fixed bug crashing when the player was on the bottom.
Merge pull request #23 from kshah2451/david

Fixed bug crashing when the player was on the bottom.