1
0
mirror of git://repo.or.cz/minetest_hbhunger.git synced 2024-12-24 00:40:20 +01:00

Remove debug line

This commit is contained in:
BlockMen 2013-07-01 09:57:44 +02:00
parent ed4e726c7f
commit 7b2484ca2a

View File

@ -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()])