diff options
Diffstat (limited to 'corn.lua')
-rw-r--r-- | corn.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -243,7 +243,7 @@ minetest.register_node("crops:corn_top_2", { groups = { snappy=3,flammable=3,flora=1,not_in_creative_inventory=1 }, drop = {}, sounds = default.node_sound_leaves_defaults(), - + on_dig = function(pos, node, digger) local below = {x = pos.x, y = pos.y - 1, z = pos.z} if not minetest.get_node(below).name == "crops:base_2" then @@ -282,7 +282,7 @@ minetest.register_node("crops:corn_top_3", { groups = { snappy=3,flammable=3,flora=1,not_in_creative_inventory=1 }, drop = {}, sounds = default.node_sound_leaves_defaults(), - + on_dig = function(pos, node, digger) local below = { x = pos.x, y = pos.y - 1, z = pos.z } local meta = minetest.get_meta(below) @@ -312,7 +312,7 @@ minetest.register_node("crops:corn_top_4", { groups = { snappy=3,flammable=3,flora=1,not_in_creative_inventory=1 }, drop = {}, sounds = default.node_sound_leaves_defaults(), - + on_dig = function(pos, node, digger) local below = {x = pos.x, y = pos.y - 1, z = pos.z} if minetest.get_node(below).name == "crops:corn_base_3" then |