summaryrefslogtreecommitdiff
path: root/onion.lua
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-05-30 12:31:05 +0100
committertenplus1 <kinsellaja@yahoo.com>2015-05-30 12:31:05 +0100
commit22a7bed688fd58a7eb86181371e4ece4a735efd5 (patch)
tree5472886015e59df0da6e7b5d17be4e4a59ec56cd /onion.lua
parent87316b50837e82d22a7cc21b5e583f47f00b1be5 (diff)
oops...
Diffstat (limited to 'onion.lua')
-rw-r--r--onion.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/onion.lua b/onion.lua
index 2eabbcc..745c818 100644
--- a/onion.lua
+++ b/onion.lua
@@ -21,7 +21,7 @@ local onion_def = {
drop = {
items = {
{items = {"ethereal:wild_onion_plant"},rarity=1},
- }
+ }
},
selection_box = {type = "fixed",fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},},
groups = {snappy=3,flammable=2,plant=1,attached_node=1,onion=1,growing=1,not_in_creative_inventory=1},
@@ -65,6 +65,7 @@ minetest.register_abm({
interval = 50,
chance = 3,
action = function(pos, node)
+
-- return if already full grown
if minetest.get_item_group(node.name, "growing") < 1 then
return