mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-08-05 20:13:10 +00:00
Merge pull request #236 from jacklin213/bugfix
Add fail-safe for version CaSe to Updater
This commit is contained in:
commit
f23e8f6fa0
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public class Updater {
|
||||||
NodeList children = latestFile.getChildNodes();
|
NodeList children = latestFile.getChildNodes();
|
||||||
|
|
||||||
String version = children.item(1).getTextContent();
|
String version = children.item(1).getTextContent();
|
||||||
return version;
|
return version.toUpperCase();
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue