mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-05-05 10:40:37 +02:00
Fixed cocoa bean placement bug
This commit is contained in:
parent
61088aeb38
commit
493566493b
@ -17,7 +17,8 @@ function place_cocoa(itemstack, placer, pointed_thing, plantname)
|
||||
end
|
||||
|
||||
-- check if pointing at jungletree
|
||||
if under.name ~= "default:jungletree" then
|
||||
if under.name ~= "default:jungletree"
|
||||
or minetest.get_node(pt.above).name ~= "air" then
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user