Don't allow cut pieces from "forms" into "storage"
This commit is contained in:
parent
3fc8daf227
commit
be6448864f
@ -171,8 +171,8 @@ function workbench.take(_, listname, _, stack, player)
|
|||||||
return stack:get_count()
|
return stack:get_count()
|
||||||
end
|
end
|
||||||
|
|
||||||
function workbench.move(_, _, _, to_list, _, count)
|
function workbench.move(_, from_list, _, to_list, _, count)
|
||||||
if to_list == "storage" then return count end
|
if to_list == "storage" and from_list ~= "forms" then return count end
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user