diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-26 14:36:44 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-26 14:36:44 +0100 |
commit | 493566493b1cc2ee020c45dbc3f057d6544ec2d3 (patch) | |
tree | 679d5c3c9dc43d59374e4ce8ee44e5b115d1d35f /cocoa.lua | |
parent | 61088aeb380d577fac7a50b9ae5f901f5f084776 (diff) |
Fixed cocoa bean placement bug
Diffstat (limited to 'cocoa.lua')
-rw-r--r-- | cocoa.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |