Use toolranks 1.2 api

This commit is contained in:
Louis 2020-08-13 17:50:23 +02:00
parent 6fcc5a5a1e
commit 4450600952
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ function throwing.register_bow(name, def)
if enable_toolranks then
def.original_description = def.original_description or def.description
def.description = toolranks.create_description(def.description, 0, 1)
def.description = toolranks.create_description(def.description)
end
minetest.register_tool(name, def)