comment out nonfunctional code
This commit is contained in:
parent
9bfa3592cb
commit
c04f67cd03
10
init.lua
10
init.lua
|
@ -28,11 +28,11 @@ minetest.register_on_death(function()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- step 4 (track hp level)
|
-- step 4 (track hp level)
|
||||||
minetest.register_on_player_hpchange(function(player, hp_change)
|
-- minetest.register_on_player_hpchange(function(player, hp_change)
|
||||||
minetest.display_chat_message(hp_change)
|
-- minetest.display_chat_message(hp_change)
|
||||||
minetest.log("action", hp_change)
|
-- minetest.log("action", hp_change)
|
||||||
return false
|
-- return false
|
||||||
end)
|
-- end)
|
||||||
|
|
||||||
-- step 5 (let players click on you)
|
-- step 5 (let players click on you)
|
||||||
-- minetest.register_on_rightclickplayer(function(player, clicker)
|
-- minetest.register_on_rightclickplayer(function(player, clicker)
|
||||||
|
|
Loading…
Reference in New Issue