Skip to content

Commit 3fc7af2

Browse files
committed
fix(lang): remove substring calls
1 parent c55cf42 commit 3fc7af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/micdoodle8/mods/galacticraft/core/util/GCCoreUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public static void loadLanguage(String langIdentifier, String assetPrefix, File
282282
}
283283
if (langDisable)
284284
return;
285-
String langFile = "assets/" + assetPrefix + "/lang/" + langIdentifier.substring(0, 3).toLowerCase() + langIdentifier.substring(3).toLowerCase() + ".lang";
285+
String langFile = "assets/" + assetPrefix + "/lang/" + langIdentifier + ".lang";
286286
InputStream stream = null;
287287
ZipFile zip = null;
288288
try

0 commit comments

Comments
 (0)