From d7a64d7e52a3e67ff1ed4614ff5a53c7296825df Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 21 Feb 2015 04:15:14 +0100 Subject: [PATCH] Fix sickle issues commit number 3 This allows to dig doors or other snappy blocks you own. --- dryplants/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dryplants/init.lua b/dryplants/init.lua index 3ad57f4..b33304f 100644 --- a/dryplants/init.lua +++ b/dryplants/init.lua @@ -85,7 +85,7 @@ local function sickle_on_use(itemstack, user, pointed_thing, uses) -- turn the node into cut grass, wear out item and play sound minetest.set_node(pt.under, {name="dryplants:grass"}) else -- otherwise dig the node - if not minetest.dig_node(pt.under) then + if not minetest.node_dig(pt.under, under, user) then return end end