Restrict the ability to make Refraction say things idk
Signed-off-by: PandaNinjas <admin@malwarefight.gq>
This commit is contained in:
parent
21390fed8a
commit
ade5b4b9b5
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ type LogProvider = (text: string) => Promise<null | string>;
|
|||
const javaAnalyzer: Analyzer = async (text) => {
|
||||
if (text.includes('This instance is not compatible with Java version')) {
|
||||
const xp =
|
||||
/Please switch to one of the following Java versions for this instance:[\r\n]+([^\r\n]+)/g;
|
||||
/Please switch to one of the following Java versions for this instance:[\r\n]+(Java version \d+)/g;
|
||||
|
||||
let ver: string;
|
||||
const m = text.match(xp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue