mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-24 00:15:16 +01:00
Fixed double stamina cost
This commit is contained in:
parent
87331e11ff
commit
06cb854b77
@ -570,7 +570,6 @@ public class PlayerData extends OfflinePlayerData {
|
||||
return;
|
||||
|
||||
// Use updated amount from Bukkit event
|
||||
setStamina(stamina + event.getAmount());
|
||||
stamina = Math.max(0, Math.min(stamina + event.getAmount(), max));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user