Detect skipped compatibility check
Signed-off-by: pandaninjas <admin@malwarefight.gq>
This commit is contained in:
parent
73e0358a7b
commit
1f293f38da
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue