1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-23 16:30:19 +01:00

Removing useless and buggy line

This commit is contained in:
LeMagnesium 2014-10-29 22:48:41 +01:00
parent ffb5553deb
commit 1daef126e6

View File

@ -368,7 +368,6 @@ minetest.register_node("nether:apple", {
end
local amount = math.random(4, 6)
local p_hunger = tonumber(hud.hunger[user:get_player_name()])
if not p_hunger then return end
p_hunger = p_hunger+9
if p_hunger > 30 then p_hunger = 30 end
hud.hunger[user:get_player_name()] = p_hunger