Skip to content

Commit e27789f

Browse files
committed
Merge branch 'fix-put-fire-in-protected-area' into fork-master
2 parents f2238c1 + 8f49f9b commit e27789f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mods/fire/init.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ minetest.register_tool("fire:flint_and_steel", {
100100
if not nodedef then
101101
return
102102
end
103-
if minetest.is_protected(pointed_thing.under, player_name) then
103+
if minetest.is_protected(pointed_thing.under, player_name)
104+
or minetest.is_protected(pointed_thing.above, player_name) then
104105
minetest.chat_send_player(player_name, "This area is protected")
105106
return
106107
end

0 commit comments

Comments
 (0)