mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
commented out global function, preferring code in the abm.
This commit is contained in:
parent
5dff9e1994
commit
acf2fbdaed
1 changed files with 2 additions and 1 deletions
|
@ -67,6 +67,7 @@ end
|
||||||
|
|
||||||
local BAMBOO_ENDCAP_NAME = "mcl_bamboo:bamboo_endcap"
|
local BAMBOO_ENDCAP_NAME = "mcl_bamboo:bamboo_endcap"
|
||||||
|
|
||||||
|
--[[ For when I learn more about the pistons...
|
||||||
function mcl_bamboo.break_orphaned(pos)
|
function mcl_bamboo.break_orphaned(pos)
|
||||||
local node_below = minetest.get_node(vector.offset(pos, 0, -1, 0))
|
local node_below = minetest.get_node(vector.offset(pos, 0, -1, 0))
|
||||||
local node_name = node_below.name
|
local node_name = node_below.name
|
||||||
|
@ -93,8 +94,8 @@ function mcl_bamboo.break_orphaned(pos)
|
||||||
minetest.add_item(pos, istack)
|
minetest.add_item(pos, istack)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
--]]
|
||||||
|
|
||||||
function mcl_bamboo.grow_bamboo(pos, bonemeal_applied)
|
function mcl_bamboo.grow_bamboo(pos, bonemeal_applied)
|
||||||
local node_above = minetest.get_node(vector.offset(pos, 0, 1, 0))
|
local node_above = minetest.get_node(vector.offset(pos, 0, 1, 0))
|
||||||
|
|
Loading…
Reference in a new issue