Skip to content

Commit

Permalink
fix(JavaVersionModalFeature): 1.19 check
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Sep 21, 2024
1 parent 289ea24 commit e9c1ed6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ import { ServerContext } from '@/state/server';
import useFlash from '@/plugins/useFlash';
import useWebsocketEvent from '@/plugins/useWebsocketEvent';

// FIXME: use regex
const MATCH_ERRORS = [
'minecraft 1.17 requires running the server with java 16 or above',
'minecraft 1.18 requires running the server with java 17 or above',
'minecraft 1.19 requires running the server with java 17 or above',
'java.lang.unsupportedclassversionerror',
'unsupported major.minor version',
'has been compiled by a more recent version of the java runtime',
Expand Down

0 comments on commit e9c1ed6

Please sign in to comment.