From 937489c7205ca10cfc83bfc3e93df75c0668ce29 Mon Sep 17 00:00:00 2001 From: jp Date: Sun, 22 Nov 2015 16:40:22 +0100 Subject: [PATCH] Fix missing put condition --- worktable.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worktable.lua b/worktable.lua index ebf4df3..05fada0 100644 --- a/worktable.lua +++ b/worktable.lua @@ -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