From ccbbf6e585dea5422bf3dafd78bf47e2538615bb Mon Sep 17 00:00:00 2001 From: OgelGames Date: Thu, 23 Jun 2022 21:43:31 +1000 Subject: [PATCH] don't check protection of air when placing bones --- mods/bones/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/bones/init.lua b/mods/bones/init.lua index 54d3f146..03b0aaba 100644 --- a/mods/bones/init.lua +++ b/mods/bones/init.lua @@ -224,7 +224,7 @@ minetest.register_on_dieplayer(function(player) -- check if it's possible to place bones, if not find space near player if bones_mode == "bones" and not may_replace(pos, player) then local air = minetest.find_node_near(pos, 1, {"air"}) - if air and not minetest.is_protected(air, player_name) then + if air then pos = air else bones_mode = "drop"