mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
fixes in mcl_cocoas
This commit is contained in:
parent
bd9713ab50
commit
731d42196a
@ -1,3 +0,0 @@
|
|||||||
mcl_sounds
|
|
||||||
mcl_core
|
|
||||||
doc?
|
|
@ -1 +0,0 @@
|
|||||||
Cocoa pods which grow at jungle trees. Does not include cocoa beans.
|
|
@ -3,10 +3,7 @@ local S = minetest.get_translator("mcl_cocoas")
|
|||||||
mcl_cocoas = {}
|
mcl_cocoas = {}
|
||||||
|
|
||||||
-- Place cocoa
|
-- Place cocoa
|
||||||
function mcl_cocoas.place(itemstack, placer, pointed_thing, plantname)
|
function mcl_cocoas.place(itemstack, placer, pt, plantname)
|
||||||
|
|
||||||
local pt = pointed_thing
|
|
||||||
|
|
||||||
-- check if pointing at a node
|
-- check if pointing at a node
|
||||||
if not pt or pt.type ~= "node" then
|
if not pt or pt.type ~= "node" then
|
||||||
return
|
return
|
||||||
|
@ -1 +1,4 @@
|
|||||||
name = mcl_cocoas
|
name = mcl_cocoas
|
||||||
|
description = Cocoa pods which grow at jungle trees. Does not include cocoa beans.
|
||||||
|
depends = mcl_sounds, mcl_core
|
||||||
|
optional_depends = doc
|
Loading…
Reference in New Issue
Block a user