mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 18:09:33 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue