Fix missing put condition
This commit is contained in:
parent
22cf219ca9
commit
937489c720
@ -100,6 +100,8 @@ function worktable.put(_, listname, _, stack, _)
|
|||||||
stn == "xdecor:hammer" then return 1
|
stn == "xdecor:hammer" then return 1
|
||||||
elseif listname == "tool" and tdef and twear > 0 then
|
elseif listname == "tool" and tdef and twear > 0 then
|
||||||
return 1
|
return 1
|
||||||
|
elseif listname == "storage" then
|
||||||
|
return count
|
||||||
end
|
end
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user