chore: prettier

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-02-17 00:34:11 +01:00
parent 1fd04bf5d5
commit 21390fed8a
No known key found for this signature in database
GPG key ID: E13DFD4B47127951
3 changed files with 25 additions and 15 deletions

View file

@ -28,11 +28,13 @@ 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.')) {
} 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'
]
'The Java major version may not work with your Minecraft instance. Please switch to a compatible version',
];
}
return null;
};