From bec1385c55d8e8f6d5ef408c11ab5f92858cfa35 Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Mon, 29 Jun 2020 10:31:05 -0400 Subject: [PATCH] Fix bug in autoconnect check. --- app/assets/js/assetguard.js | 4 +--- app/assets/js/processbuilder.js | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/js/assetguard.js b/app/assets/js/assetguard.js index 7612bffb..9f97d670 100644 --- a/app/assets/js/assetguard.js +++ b/app/assets/js/assetguard.js @@ -196,10 +196,8 @@ class Util { static isAutoconnectBroken(forgeVersion) { - const forgeVer = forgeVersion.split('-')[1] - const minWorking = [31, 2, 15] - const verSplit = forgeVer.split('.').map(v => Number(v)) + const verSplit = forgeVersion.split('.').map(v => Number(v)) if(verSplit[0] === 31) { for(let i=0; i