It does what was described in the issue.
The only thing I had to consider is the amount of xp to give while sprinting. I settled on 0.01 for now. Maybe this is still too much xp, we will have to figure it out.
I tested it and it works. XP is still being added when firing a rifle as well.
This is the amount of xp I have when sprinting the distance of two chunks, stopping to regain stamina when I run out:
Fixes #195
It does what was described in the issue. The only thing I had to consider is the amount of xp to give while sprinting. I settled on 0.01 for now. Maybe this is still too much xp, we will have to figure it out.
I tested it and it works. XP is still being added when firing a rifle as well.
This is the amount of xp I have when sprinting the distance of two chunks, stopping to regain stamina when I run out: