mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Fix log spam by subspace_storage plugin
Fix log spam when the dole distribution method is used on subspace_storage plugin. This was caused by a bogus if condition being translated into a sensible but wrong one.
This commit is contained in:
1 parent
568cf81204
commit
d2fb33f8b9
2 files changed
+3
-1
No files matched your search
@@ -139,6 +139,7 @@ class MasterPlugin extends plugin.BaseMasterPlugin {
|
||||
let count = dole.doleDivider({
|
||||
object: { name: item[0], count: item[1], instanceId, instanceName},
|
||||
items: this.items,
|
||||
logItemTransfers: this.master.config.get("subspace_storage.log_item_transfers"),
|
||||
});
|
||||
if (count > 0) {
|
||||
itemsRemoved.push([item[0], count]);
|
||||
|
||||
Reference in new issue
Block a user