mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
Fix stuff..
- Added a security
This commit is contained in:
parent
6cd8368592
commit
2deab894c3
@ -357,6 +357,7 @@ function hud.handle_node_actions(pos, oldnode, player, ext)
|
|||||||
end
|
end
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
local exhaus = hud.exhaustion[name]
|
local exhaus = hud.exhaustion[name]
|
||||||
|
if not exhaus then return end
|
||||||
local new = HUD_HUNGER_EXHAUST_PLACE
|
local new = HUD_HUNGER_EXHAUST_PLACE
|
||||||
-- placenode event
|
-- placenode event
|
||||||
if not ext then
|
if not ext then
|
||||||
|
Loading…
Reference in New Issue
Block a user