mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-12-01 00:23:00 +00:00
Remove fire debug stuff
This commit is contained in:
parent
d625fa734b
commit
7ec501f779
1 changed files with 0 additions and 2 deletions
|
@ -134,7 +134,6 @@ minetest.override_item("mcl_core:lava_source", {
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
local airs1 = minetest.find_nodes_in_area({x=pos.x-1, y=pos.y+1, z=pos.z-1}, {x=pos.x+1, y=pos.y+1, z=pos.z+1}, {"air"})
|
local airs1 = minetest.find_nodes_in_area({x=pos.x-1, y=pos.y+1, z=pos.z-1}, {x=pos.x+1, y=pos.y+1, z=pos.z+1}, {"air"})
|
||||||
minetest.log("error", dump(airs1))
|
|
||||||
local ok = try_ignite(airs1)
|
local ok = try_ignite(airs1)
|
||||||
if not ok then
|
if not ok then
|
||||||
local airs2 = minetest.find_nodes_in_area({x=pos.x-2, y=pos.y+2, z=pos.z-2}, {x=pos.x+2, y=pos.y+2, z=pos.z+2}, {"air"})
|
local airs2 = minetest.find_nodes_in_area({x=pos.x-2, y=pos.y+2, z=pos.z-2}, {x=pos.x+2, y=pos.y+2, z=pos.z+2}, {"air"})
|
||||||
|
@ -329,7 +328,6 @@ if not fire_enabled then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
local airs1 = minetest.find_nodes_in_area({x=pos.x-1, y=pos.y+1, z=pos.z-1}, {x=pos.x+1, y=pos.y+1, z=pos.z+1}, {"air"})
|
local airs1 = minetest.find_nodes_in_area({x=pos.x-1, y=pos.y+1, z=pos.z-1}, {x=pos.x+1, y=pos.y+1, z=pos.z+1}, {"air"})
|
||||||
minetest.log("error", dump(airs1))
|
|
||||||
local ok = try_ignite(airs1)
|
local ok = try_ignite(airs1)
|
||||||
if not ok then
|
if not ok then
|
||||||
local airs2 = minetest.find_nodes_in_area({x=pos.x-2, y=pos.y+2, z=pos.z-2}, {x=pos.x+2, y=pos.y+2, z=pos.z+2}, {"air"})
|
local airs2 = minetest.find_nodes_in_area({x=pos.x-2, y=pos.y+2, z=pos.z-2}, {x=pos.x+2, y=pos.y+2, z=pos.z+2}, {"air"})
|
||||||
|
|
Loading…
Reference in a new issue