Realizedd / Duels

A duel plugin for minecraft.
https://www.spigotmc.org/resources/duels.20171/
GNU General Public License v3.0
108 stars 100 forks source link

reset exhaustion and saturation when resetting player #80

Closed skbeh closed 1 year ago

skbeh commented 2 years ago

When resetting a player's food level, his exhaustion and saturation are leaved unchanged, which leads to an unfairness because the two values determine how fast the hunger level depletes. This pull request makes the resetting method handles them properly.

Realizedd commented 1 year ago

Thanks for the fix! If you could change the base branch to the dev branch, I'll merge the request.