From 69bd6f34450b247573518b88b658773db139768a 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)