mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 15:24:52 +09:00
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:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user