From 110c23560edf5ddc7ed3ffd0d0c288a96e0343e8 Mon Sep 17 00:00:00 2001 From: OgelGames Date: Thu, 6 Jul 2023 18:17:35 +1000 Subject: [PATCH] Don't check protection of air when placing bones (#2964) --- 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 340ebbdd..725f6622 100644 --- a/mods/bones/init.lua +++ b/mods/bones/init.lua @@ -228,7 +228,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"