From 6c9f1248a8959a4928af310947278c189961cac1 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 31 Jan 2024 21:25:08 -0700 Subject: [PATCH] yk what, bug fixing requires raw data --- index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index cf8ec25..a603b06 100755 --- a/index.js +++ b/index.js @@ -106,17 +106,18 @@ function splitKeyword(keyword) { // } // } // Lets redo this to actually work with v1.10.0 and above, still gotta check because versions older than 1.3 dont have DLC, and wont have the right number of fields - console.log(`${colors.magenta(`[DEBUG ${new Date()}]`)} Server version is ${data[0]}`); if (data.length < 3) { return { - "version": data[0] + "version": data[0], + "raw": keyword } } else { return { "version": data[0], dlcString, dlc: data[1], - "tps": data[2] + "tps": data[2], + "raw": keyword } } };