1
0
Fork 0

commented out global function, preferring code in the abm.

Bamboo-Piston-Dig
Michieal 2023-02-05 21:00:18 -05:00
parent 5dff9e1994
commit acf2fbdaed
1 changed files with 2 additions and 1 deletions

View File

@ -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))