diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-27 19:10:39 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-27 19:10:39 +0000 |
commit | 7a5542d3633e42016b587a81f6254837df95b309 (patch) | |
tree | a8961dd682db58ce680f7c4e8cddf956964b73ba | |
parent | 8d372d293f7fb69819647e009d4b8bfcd982e3fc (diff) |
Fix bonemeal ethereal_sapling bug
-rw-r--r-- | bonemeal.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bonemeal.lua b/bonemeal.lua index d5b3ff0..e666271 100644 --- a/bonemeal.lua +++ b/bonemeal.lua @@ -125,7 +125,8 @@ local function growth(pointed_thing) })
-- 50/50 chance of growing a sapling
- if minetest.get_item_group(node.name, "sapling") > 0 then
+ if minetest.get_item_group(node.name, "sapling") > 0
+ or minetest.get_item_group(node.name, "ethereal_sapling") > 0 then
if math.random(1, 2) == 1 then
return
|