Merge pull request #1061 from bbassie/feature/inventory-sync-components

Allow inventory sync components to be turned off per instance
This commit is contained in:
Cooldude2606 authored and GitHub committed 2026-10-17 19:45:19 +01:00
commit 5e2ecdd143
14 files changed
+1076 -139

No files matched your search

@@ -292,10 +292,10 @@ function serialize.deserialize_inventory(inventory, serialized)
if entry.f then
local call_success, call_return = pcall(inventory.set_filter, index, entry.f)
if not call_success then
print("Error: '" .. call_return .. "' thrown setting filter " .. entry.f)
print("Error: '" .. call_return .. "' thrown setting filter " .. serpent.line(entry.f))
elseif not call_return then
print("Error: Failed to set filter " .. entry.f)
print("Error: Failed to set filter " .. serpent.line(entry.f))
end
end