From b18584e9c02bcf6c47dc44cd5969db2b0ecb9d9b Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Mon, 12 Jan 2015 19:23:26 +0100 Subject: [PATCH] Fix a stupid error --- mods/hud/hunger.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/hud/hunger.lua b/mods/hud/hunger.lua index b1fd43a4..0d2ab96f 100755 --- a/mods/hud/hunger.lua +++ b/mods/hud/hunger.lua @@ -357,7 +357,7 @@ function hud.handle_node_actions(pos, oldnode, player, ext) end local name = player:get_player_name() local exhaus = hud.exhaustion[name] - if not exhaus then return end + if exhaus == nil then return end local new = HUD_HUNGER_EXHAUST_PLACE -- placenode event if not ext then