@ -17,7 +17,8 @@ function place_cocoa(itemstack, placer, pointed_thing, plantname)
end
-- check if pointing at jungletree
ifunder.name~="default:jungletree"then
ifunder.name~="default:jungletree"
orminetest.get_node(pt.above).name~="air"then
return
end
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.