This commit is contained in:
Chayapak 2023-09-24 12:20:37 +07:00
parent 52aa236a63
commit ecd5efb30e

View file

@ -85,8 +85,10 @@ public class FormatCheckerPlugin extends ChatPlugin.Listener {
.toString() .toString()
.substring(0, 8); .substring(0, 8);
totalFormat++; final boolean correct = hash.equals(userHashComponent.content());
return !hash.equals(userHashComponent.content()); if (correct) totalFormat++;
return correct;
} }
} }