mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 11:53:46 +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 = {}
|
||||
|
||||
-- Place cocoa
|
||||
function mcl_cocoas.place(itemstack, placer, pointed_thing, plantname)
|
||||
|
||||
local pt = pointed_thing
|
||||
|
||||
function mcl_cocoas.place(itemstack, placer, pt, plantname)
|
||||
-- check if pointing at a node
|
||||
if not pt or pt.type ~= "node" then
|
||||
return
|
||||
|
@ -1 +1,4 @@
|
||||
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