mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Fixed bug in version check, fixed water-related false positive and fixed wrong permission
This commit is contained in:
1 parent
c6e4ce091a
commit
918549bc11
6 files changed
+27
-6
No files matched your search
@@ -102,6 +102,8 @@ public class UpdateManager {
|
||||
public VersionSplit(String version) throws Exception {
|
||||
if (version.endsWith("-ALPHA")) {
|
||||
version = version.substring(0, version.length() - 6);
|
||||
} else if (version.endsWith("-PRE")) {
|
||||
version = version.substring(0, version.length() - 4);
|
||||
}
|
||||
|
||||
String[] versionSplit = version.split("\\.");
|
||||
|
||||
Reference in new issue
Block a user