mirror of
https://github.com/lisacvuk/minetest-toolranks.git
synced 2025-01-09 15:30:17 +01:00
add shears tool type
This commit is contained in:
parent
13352af352
commit
ab401c360c
2
init.lua
2
init.lua
@ -31,6 +31,8 @@ function toolranks.get_tool_type(description)
|
|||||||
return "hoe"
|
return "hoe"
|
||||||
elseif string.find(d, "sword") then
|
elseif string.find(d, "sword") then
|
||||||
return "sword"
|
return "sword"
|
||||||
|
elseif string.find(d, "shears") then
|
||||||
|
return "shears"
|
||||||
else
|
else
|
||||||
return "tool"
|
return "tool"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user