mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-28 09:36:27 -04:00
Fix?
This commit is contained in:
parent
b5029603bc
commit
84b65b8dfb
1 changed files with 0 additions and 16 deletions
|
@ -283,22 +283,6 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"default:furnace_active"},
|
||||
interval = 1,
|
||||
chance = 2,
|
||||
action = function(pos, node)
|
||||
local fdir = minetest.facedir_to_dir(node.param2)
|
||||
local minp = {x=pos.x-fdir.x*0.52, y=pos.y-6/16, z=pos.z-fdir.z*0.4}
|
||||
local maxp = vector.new(minp)
|
||||
maxp.y = maxp.y+3/16
|
||||
if fdir.x == 0 then
|
||||
minp.x = minp.x-0.4
|
||||
maxp.x = maxp.x+0.4
|
||||
elseif fdir.z == 0 then
|
||||
minp.z = minp.z-0.4
|
||||
maxp.z = maxp.z+0.4
|
||||
end
|
||||
minetest.register_abm({
|
||||
nodenames = {"default:furnace_active"},
|
||||
interval = 1.5,
|
||||
chance = 1,
|
||||
|
|
Loading…
Add table
Reference in a new issue