From 71a28fc0b76beb8668c50f2e4f24abaf91fe25ef Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+chomens@users.noreply.github.com> Date: Sun, 10 Nov 2024 13:58:56 +0700 Subject: [PATCH] still broken nbot hashing --- .../land/chipmunk/chipmunkmod/util/BotValidationUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chipmunkmod/util/BotValidationUtilities.java b/src/main/java/land/chipmunk/chipmunkmod/util/BotValidationUtilities.java index 12343b3..ceca101 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/util/BotValidationUtilities.java +++ b/src/main/java/land/chipmunk/chipmunkmod/util/BotValidationUtilities.java @@ -171,7 +171,7 @@ public class BotValidationUtilities { long bigInt = ByteBuffer.wrap(new byte[] {0, 0, hash[0], hash[1], hash[2], hash[3], hash[4], hash[5]}).getLong(); - String stringHash = Long.toUnsignedString(bigInt, 36).substring(0, 6); + String stringHash = Long.toUnsignedString(bigInt, 36).substring(0, 7); final String[] restArguments = Arrays.copyOfRange(arguments, 1, arguments.length);