Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mods/sbz_pipeworks/pattern_storinator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ listring[]
]]
)
end,
allow_metadata_inventory_move = function(pos, from_list, from_index, to_list, to_index, count, player)
if from_list == 'pattern' and to_list == 'storage' then return 0 end -- There TOTALLY wasn't a crash bug with this...
return count
end,
allow_metadata_inventory_put = function(pos, listname, index, stack, player)
if listname == 'main' then return stack:get_count() end -- case: player
local meta = core.get_meta(pos)
Expand Down