The player must be on the ground to lose stamina.

This pull-request fixes issue CloudSixteen/Clockwork#13

The fix requires the player to be on the ground for stamina to drain.