From 1f293f38da175688e9ad954ad11ff3e86979adcf Mon Sep 17 00:00:00 2001 From: pandaninjas Date: Thu, 5 Jan 2023 19:03:29 +0000 Subject: [PATCH] Detect skipped compatibility check Signed-off-by: pandaninjas --- src/logs.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/logs.ts b/src/logs.ts index 98ea903..5ca0bc7 100644 --- a/src/logs.ts +++ b/src/logs.ts @@ -28,6 +28,11 @@ const javaAnalyzer: Analyzer = async (text) => { 'Wrong Java Version', `Please switch to the following: \`${ver}\`\nFor more information, type \`/tag java\``, ]; + } else if (text.includes('Java major version is incompatible. Things might break.')) { + return [ + 'Java compatibility check skipped', + 'The Java major version may not work with your Minecraft instance. Please switch to a compatible version' + ] } return null; };