Skip to content

Commit

Permalink
[m1necraft] fixed bug with wrong java version
Browse files Browse the repository at this point in the history
  • Loading branch information
raphtlw committed Feb 11, 2022
1 parent 2556bd3 commit f12067e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M1necraft/Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,6 @@ extension M1necraftVersion {
return FileManager.default.dirExists(atPath: path) ? path : nil
}
var javaVersion: Int {
MinecraftVersionParsed(string: name)!.major >= 17 ? 8 : 17
MinecraftVersionParsed(string: name)!.major >= 17 ? 17 : 8
}
}

0 comments on commit f12067e

Please sign in to comment.