Bug fix: always download 1.16.5
This commit is contained in:
1 parent
e5b3e36cf0
commit
322870f8a3
1 file changed
+1
-1
@@ -59,7 +59,7 @@ public class PLaunchApp {
|
||||
try {
|
||||
String plistContent = Tools.read(Tools.DIR_APP_DATA + "/launcher_preferences.plist");
|
||||
plistContent = plistContent.substring(plistContent.indexOf("<key>selected_version</key>") + 26);
|
||||
plistContent = plistContent.replace("<string>", "")
|
||||
mcver = plistContent.replace("<string>", "")
|
||||
.substring(0, plistContent.indexOf("</string>")).trim();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in new issue
Block a user