Skip to content

Commit

Permalink
pmd shush
Browse files Browse the repository at this point in the history
  • Loading branch information
MehVahdJukaar committed Aug 3, 2024
1 parent 51dfc80 commit df81b4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ private static VanillaGuiOverlay guessGuiOverlayFromClassName(Class<?> zetaEvent
if (!match.find()) return null;
String simpleName = match.group(1);
for (VanillaGuiOverlay overlay : VanillaGuiOverlay.values()) {
if (simpleName.toUpperCase().equals(overlay.name().replace("_", ""))) {
if (simpleName.equalsIgnoreCase(overlay.name().replace("_", ""))) {
return overlay;
}
}
Expand Down

0 comments on commit df81b4b

Please sign in to comment.