Use updated api from toolranks

This commit is contained in:
Louis 2020-07-03 02:19:12 +02:00
parent cf2549caca
commit 8ee235b096
2 changed files with 2 additions and 2 deletions

@ -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)

@ -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 =