Skip to content

Commit

Permalink
fix(lang): remove substring calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ROMVoid95 committed Jul 17, 2023
1 parent c55cf42 commit 3fc7af2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public static void loadLanguage(String langIdentifier, String assetPrefix, File
}
if (langDisable)
return;
String langFile = "assets/" + assetPrefix + "/lang/" + langIdentifier.substring(0, 3).toLowerCase() + langIdentifier.substring(3).toLowerCase() + ".lang";
String langFile = "assets/" + assetPrefix + "/lang/" + langIdentifier + ".lang";
InputStream stream = null;
ZipFile zip = null;
try
Expand Down

1 comment on commit 3fc7af2

@ROMVoid95
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should fix #148

Please sign in to comment.