Revert healing interval default to the lower value

This commit is contained in:
the-real-herowl 2023-11-27 03:37:28 +01:00 committed by the-real-herowl
parent 027e0e8337
commit e29654a0f6
2 changed files with 3 additions and 3 deletions

View file

@ -146,7 +146,7 @@ minetest.register_globalstep(function(dtime)
local food_level = mcl_hunger.get_hunger(player) local food_level = mcl_hunger.get_hunger(player)
local food_saturation_level = mcl_hunger.get_saturation(player) local food_saturation_level = mcl_hunger.get_saturation(player)
local player_health = player:get_hp() local player_health = player:get_hp()
local max_tick_timer = tonumber(minetest.settings:get("mcl_health_regen_delay")) or 4 local max_tick_timer = tonumber(minetest.settings:get("mcl_health_regen_delay")) or 0.5
if food_tick_timer > max_tick_timer then if food_tick_timer > max_tick_timer then
food_tick_timer = 0 food_tick_timer = 0

View file

@ -99,8 +99,8 @@ mcl_creative_dig_speed (Creative mode dig speed) float 0.2
mcl_enable_hunger (Hunger mechanic) bool true mcl_enable_hunger (Hunger mechanic) bool true
# Health regeneration delay when hunger bar is full # Health regeneration delay when hunger bar is full
# Default:4 # Default: 0.5 s
mcl_health_regen_delay (Health regen delay) float 4 0 mcl_health_regen_delay (Health regen delay) float 0.5 0
[Mobs] [Mobs]
# If enabled, mobs will spawn naturally. This does not affect # If enabled, mobs will spawn naturally. This does not affect