mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 16:39:33 +01:00
Conversation Fix. (Removed extra IF statement.)
This commit is contained in:
parent
c09ed02801
commit
1861d7d30d
1 changed files with 9 additions and 11 deletions
|
@ -110,7 +110,6 @@ local function create_nodes()
|
|||
-- Node destructor; called before removing node.
|
||||
local new_pos = vector.offset(pos, 0, 1, 0)
|
||||
local node_above = minetest.get_node(new_pos)
|
||||
if node_above and node_above.name == "mcl_bamboo:bamboo" then
|
||||
if node_above and node_above.name == "mcl_bamboo:bamboo" then
|
||||
local sound_params = {
|
||||
pos = new_pos,
|
||||
|
@ -123,7 +122,6 @@ local function create_nodes()
|
|||
local istack = ItemStack("mcl_bamboo:bamboo")
|
||||
minetest.add_item(new_pos, istack)
|
||||
end
|
||||
end
|
||||
end,
|
||||
}
|
||||
minetest.register_node("mcl_bamboo:bamboo", bamboo_def)
|
||||
|
|
Loading…
Reference in a new issue