mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 23:40:31 +01:00
Commented stuff
This commit is contained in:
parent
54bf90e45f
commit
b9d8e1b425
|
@ -352,7 +352,7 @@ end
|
||||||
|
|
||||||
-- player-action based hunger changes
|
-- player-action based hunger changes
|
||||||
function hud.handle_node_actions(pos, oldnode, player, ext)
|
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
|
return
|
||||||
end
|
end
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
|
@ -379,7 +379,7 @@ function hud.handle_node_actions(pos, oldnode, player, ext)
|
||||||
hud.hunger[name] = h
|
hud.hunger[name] = h
|
||||||
hud.set_hunger(player)
|
hud.set_hunger(player)
|
||||||
end
|
end
|
||||||
hud.exhaustion[name] = exhaus
|
hud.exhaustion[name] = exhaus]]
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_on_placenode(hud.handle_node_actions)
|
minetest.register_on_placenode(hud.handle_node_actions)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user