chore: prettier
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
1fd04bf5d5
commit
21390fed8a
3 changed files with 25 additions and 15 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue