@ -5475,11 +5475,12 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5475,11 +5475,12 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5489,7 +5490,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5489,7 +5490,7 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5504,23 +5505,23 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5504,23 +5505,23 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5535,10 +5536,10 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5535,10 +5536,10 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5547,14 +5548,15 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5547,14 +5548,15 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5571,10 +5573,9 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5571,10 +5573,9 @@ public class PlayerCharacter extends AbstractCharacter {
floatstaminaRegenerated=secondsPassed*ratio;// Stamina regenerates 1 point per `rate` seconds
booleanworkedStamina=false;
floatold,mod;
floatold=this.stamina.get();
floatmod=old+staminaRegenerated;
while(!workedStamina){
old=this.stamina.get();
mod=old+staminaRegenerated;
if(mod>this.staminaMax)
mod=staminaMax;
elseif(mod<0)
@ -5583,8 +5584,9 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5583,8 +5584,9 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5594,7 +5596,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5594,7 +5596,7 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5607,10 +5609,9 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5607,10 +5609,9 @@ public class PlayerCharacter extends AbstractCharacter {
@ -5618,27 +5619,28 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -5618,27 +5619,28 @@ public class PlayerCharacter extends AbstractCharacter {