Skip to content

Commit 110c235

Browse files
authored
Don't check protection of air when placing bones (#2964)
1 parent d86435d commit 110c235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mods/bones/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ minetest.register_on_dieplayer(function(player)
228228
-- check if it's possible to place bones, if not find space near player
229229
if bones_mode == "bones" and not may_replace(pos, player) then
230230
local air = minetest.find_node_near(pos, 1, {"air"})
231-
if air and not minetest.is_protected(air, player_name) then
231+
if air then
232232
pos = air
233233
else
234234
bones_mode = "drop"

0 commit comments

Comments
 (0)