forked from VoxeLibre/VoxeLibre
Rename cocoa pod placement function.
* Rename cocoa pod placement function to match the `on_place` call in the cocoa pods item definition. * Make the function local, there are no callers outside of mcl_cocoas.
This commit is contained in:
parent
3249c13752
commit
89821a8329
|
@ -3,7 +3,7 @@ local S = minetest.get_translator(minetest.get_current_modname())
|
|||
mcl_cocoas = {}
|
||||
|
||||
-- Place cocoa
|
||||
function mcl_cocoas.place(itemstack, placer, pt, plantname)
|
||||
local function cocoa_place(itemstack, placer, pt, plantname)
|
||||
-- check if pointing at a node
|
||||
if not pt or pt.type ~= "node" then
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue