1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-12-25 02:00:20 +01:00

Fixed cocoa bean placement bug

This commit is contained in:
TenPlus1 2016-04-26 14:36:44 +01:00
parent 61088aeb38
commit 493566493b

View File

@ -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