mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-05 02:36:00 +00:00
netbeans inpector fixes
This commit is contained in:
@@ -50,7 +50,7 @@ public class MD5Crypt {
|
||||
String checksum = hash.substring(magic.length());
|
||||
String salt = "";
|
||||
if (checksum.contains("$")) {
|
||||
salt = checksum.substring(0, checksum.indexOf("$"));
|
||||
salt = checksum.substring(0, checksum.indexOf('$'));
|
||||
}
|
||||
return hash.equals(crypt(password, salt, magic));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user