From e4747df46c4c23c7a3d32c868ad97dcdc1d121ff Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Tue, 13 Jan 2015 21:17:48 +0100 Subject: [PATCH] Commented stuff --- mods/hud/hunger.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/hud/hunger.lua b/mods/hud/hunger.lua index c9e74f39..d26054c0 100755 --- a/mods/hud/hunger.lua +++ b/mods/hud/hunger.lua @@ -352,7 +352,7 @@ end -- player-action based hunger changes function hud.handle_node_actions(pos, oldnode, player, ext) - if not player or not player:is_player() then + --[[if not player or not player:is_player() then return end local name = player:get_player_name() @@ -379,7 +379,7 @@ function hud.handle_node_actions(pos, oldnode, player, ext) hud.hunger[name] = h hud.set_hunger(player) end - hud.exhaustion[name] = exhaus + hud.exhaustion[name] = exhaus]] end minetest.register_on_placenode(hud.handle_node_actions)