Skip to content

Commit

Permalink
fixed adapter version parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiepp committed Sep 10, 2023
1 parent 75c6291 commit 2f60a88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ private boolean handleWorldAdapter() {
try {
int major = Integer.parseInt(versionString[0]);
int minor = Integer.parseInt(versionString[1]);
int release = versionString.length > 3 ? Integer.parseInt(versionString[3]) : 0;
int release = versionString.length > 2 ? Integer.parseInt(versionString[2]) : 0;

String adapterPath;
if (major == 2 && minor == 2 && release == 1) {
Expand Down

0 comments on commit 2f60a88

Please sign in to comment.