diff --git a/hoe.lua b/hoe.lua index 3042149..55bbf01 100644 --- a/hoe.lua +++ b/hoe.lua @@ -4,7 +4,7 @@ local function add_hoe(material) local hoe_on_use = ItemStack(name):get_definition().on_use minetest.override_item(name, { original_description = desc, - description = toolranks.create_description(desc, 0, 1), + description = toolranks.create_description(desc), after_use = toolranks.new_afteruse, -- we also want hoes to increase dugnodes when farming soil on_use = function(itemstack, user, pointed_thing, uses) diff --git a/init.lua b/init.lua index 243f4f6..0d6a7a0 100644 --- a/init.lua +++ b/init.lua @@ -3,7 +3,7 @@ local MP = minetest.get_modpath("toolranks_extras") toolranks_extras = {} -- mod information -toolranks_extras.mod = {version = "1.3.1", author = "Louis Royer"} +toolranks_extras.mod = {version = "1.3.2", author = "Louis Royer"} -- settings toolranks_extras.settings =