mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-28 09:36:27 -04:00
Update init.lua
This commit is contained in:
parent
7c3870d6a6
commit
818be4e2fc
1 changed files with 5 additions and 0 deletions
|
@ -181,6 +181,11 @@ minetest.register_on_dieplayer(function(player)
|
|||
end
|
||||
|
||||
minetest.set_node(pos, {name="bones:bones", param2=param2})
|
||||
|
||||
if minetest.setting_getbool("show_bone_pos") then
|
||||
minetest.chat_send_player(player_name, "Your bones were left at "..minetest.pos_to_string(pos))
|
||||
minetest.log("action", player_name.." left their bones at "..minetest.pos_to_string(pos))
|
||||
end
|
||||
|
||||
local meta = minetest.get_meta(pos)
|
||||
local inv = meta:get_inventory()
|
||||
|
|
Loading…
Add table
Reference in a new issue