Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
keep full food level when NO_HUNGER mode
Browse files Browse the repository at this point in the history
  • Loading branch information
return0927 committed Jul 24, 2024
1 parent cbebab9 commit f4d76ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Plugin/src/daybreak/abilitywar/game/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private void onWeatherChange(final WeatherChangeEvent e) {
@EventHandler
private void onFoodLevelChange(final FoodLevelChangeEvent e) {
if (Settings.getNoHunger()) {
e.setFoodLevel(19);
e.setFoodLevel(20);
}
}

Expand Down

0 comments on commit f4d76ec

Please sign in to comment.