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:
Hornwitser committed 2020-04-18 23:37:50 +02:00
1 parent 568cf81204
commit d2fb33f8b9
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -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]);