Skip to content
Open
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
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ local function sort_storage(pos, player)
for _, sste in ipairs(sorted_storage_table) do
local new_itemstack = sste.itemstack
if new_itemstack:get_name() == item_name then
itemstack = new_itemstack:add_item(itemstack)
itemstack:replace(new_itemstack:add_item(itemstack))
end
if itemstack:is_empty() then
break
Expand Down