Fix missing put condition

This commit is contained in:
jp 2015-11-22 16:40:22 +01:00
parent 22cf219ca9
commit 937489c720

View File

@ -100,6 +100,8 @@ function worktable.put(_, listname, _, stack, _)
stn == "xdecor:hammer" then return 1
elseif listname == "tool" and tdef and twear > 0 then
return 1
elseif listname == "storage" then
return count
end
return 0
end