mirror of
https://github.com/lisacvuk/minetest-toolranks.git
synced 2025-07-13 13:30:26 +02:00
fix tool description for old and unused tools (#14)
This commit is contained in:
@ -13,7 +13,7 @@ If so, to support this mod, add this code to your mod, after your tool's code:
|
||||
if minetest.get_modpath("toolranks") then
|
||||
minetest.override_item("mymod:mytool", {
|
||||
original_description = "My Tool",
|
||||
description = toolranks.create_description("My Tool", 0, 1),
|
||||
description = toolranks.create_description("My Tool"),
|
||||
after_use = toolranks.new_afteruse
|
||||
})
|
||||
end
|
||||
|
Reference in New Issue
Block a user