1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Fix stuff..

- Added a security
This commit is contained in:
LeMagnesium 2015-01-11 00:05:18 +01:00
parent 6cd8368592
commit 2deab894c3

View File

@ -357,6 +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
local new = HUD_HUNGER_EXHAUST_PLACE
-- placenode event
if not ext then