register_abm commented out
parent
ecff614f1a
commit
3abadd7478
|
@ -60,6 +60,7 @@ minetest.register_alias("moreblocks:allfacestree","moreblocks:all_faces_tree")
|
||||||
-- ABM for horizontal trees (fix facedir):
|
-- ABM for horizontal trees (fix facedir):
|
||||||
local horizontal_tree_convert_facedir = {7, 12, 9, 18}
|
local horizontal_tree_convert_facedir = {7, 12, 9, 18}
|
||||||
|
|
||||||
|
if false then -- ABM disabled
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"moreblocks:horizontal_tree","moreblocks:horizontal_jungle_tree"},
|
nodenames = {"moreblocks:horizontal_tree","moreblocks:horizontal_jungle_tree"},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
|
@ -77,7 +78,7 @@ minetest.register_abm({
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ function stairsplus:register_6dfacedir_conversion(modname, material)
|
||||||
|
|
||||||
--print(" +---> convert " ..object)
|
--print(" +---> convert " ..object)
|
||||||
--print(" | to " ..dest_object)
|
--print(" | to " ..dest_object)
|
||||||
|
if false then -- ABM disabled
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {object},
|
nodenames = {object},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
|
@ -93,6 +93,7 @@ function stairsplus:register_6dfacedir_conversion(modname, material)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
for _, object in pairs(objects_list2) do
|
for _, object in pairs(objects_list2) do
|
||||||
local flip_upside_down = false
|
local flip_upside_down = false
|
||||||
|
@ -117,7 +118,7 @@ function stairsplus:register_6dfacedir_conversion(modname, material)
|
||||||
|
|
||||||
--print(" +---> convert " ..object)
|
--print(" +---> convert " ..object)
|
||||||
--print(" | to " ..dest_object)
|
--print(" | to " ..dest_object)
|
||||||
|
if false then -- ABM disabled
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {object},
|
nodenames = {object},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
|
@ -137,3 +138,4 @@ function stairsplus:register_6dfacedir_conversion(modname, material)
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue