From 909e7d5ad6ebf8a40844581e2eb1d4f5e977110f Mon Sep 17 00:00:00 2001 From: survaaki Date: Thu, 21 Nov 2019 16:29:36 +1000 Subject: [PATCH] early config.uploadModsToMaster check Move check to start of function for config.uploadModsToMaster. When disabled, write one log line instead of one log line per mod. --- client.js | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/client.js b/client.js index 8f20ae33..14e659f6 100644 --- a/client.js +++ b/client.js @@ -737,19 +737,19 @@ async function instanceManagement(instanceconfig) { setTimeout(function(){hashMods(instance, uploadMods)}, 5000); function uploadMods(modHashes) { - // [{modName:string,hash:string}, ... ] - for(let i=0;i