From be6448864fc107c76eb53be6219a452c44685677 Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Wed, 18 May 2016 07:59:36 -0400 Subject: [PATCH] Don't allow cut pieces from "forms" into "storage" --- workbench.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workbench.lua b/workbench.lua index 67daacd..3774912 100644 --- a/workbench.lua +++ b/workbench.lua @@ -171,8 +171,8 @@ function workbench.take(_, listname, _, stack, player) return stack:get_count() end -function workbench.move(_, _, _, to_list, _, count) - if to_list == "storage" then return count end +function workbench.move(_, from_list, _, to_list, _, count) + if to_list == "storage" and from_list ~= "forms" then return count end return 0 end -- 2.44.0