Fix missing adze graveling wear check

This commit is contained in:
Aaron Suen 2021-08-11 18:25:18 -04:00
parent de6206d6d9
commit 197467d795

View File

@ -30,7 +30,14 @@ nodecore.register_craft({
indexkeys = {"group:gravel"},
nodes = {
{match = {groups = {gravel = true}}},
{y = -1, match = "nc_woodwork:adze", replace = "air"},
{
y = -1,
match = {
name = "nc_woodwork:adze",
wear = 0.05
},
replace = "air"
},
},
items = {
{name = modname .. ":adze"}