Don't allow cut pieces from "forms" into "storage"

master
James Stevenson 2016-05-18 07:59:36 -04:00 committed by Auke Kok
parent 3fc8daf227
commit be6448864f
1 changed files with 2 additions and 2 deletions

View File

@ -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