Fixes stamina function restoreStamina.
Merge pull request #262 from Nerolat/1.1

Fixes stamina function restoreStamina.