mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-11-27 17:43:44 +01:00
Remove debug line
This commit is contained in:
parent
ed4e726c7f
commit
7b2484ca2a
@ -1,5 +1,4 @@
|
|||||||
function hud.item_eat(hunger_change, replace_with_item)
|
function hud.item_eat(hunger_change, replace_with_item)
|
||||||
minetest.chat_send_all("eat")
|
|
||||||
return function(itemstack, user, pointed_thing)
|
return function(itemstack, user, pointed_thing)
|
||||||
if itemstack:take_item() ~= nil then
|
if itemstack:take_item() ~= nil then
|
||||||
local h = tonumber(hud.hunger[user:get_player_name()])
|
local h = tonumber(hud.hunger[user:get_player_name()])
|
||||||
|
Loading…
Reference in New Issue
Block a user