Skip to content

Commit

Permalink
Fix for loop my bad gang.
Browse files Browse the repository at this point in the history
  • Loading branch information
DxsSucuk committed Oct 9, 2024
1 parent ced1d2d commit ca1607f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public static void downloadLanguages() {
* @return The String.
*/
public static @NonNull String getByLocale(@NonNull String locale, @NonNull String key, @Nullable Player player, @Nullable Object... parameters) {
if (!languageResources.containsKey(locale)) return getDefault(locale, key, parameters);
if (!languageResources.containsKey(locale) && !locale.equalsIgnoreCase("en_us")) return getDefault(locale, key, parameters);

Language language = languageResources.get(locale);

Expand Down

0 comments on commit ca1607f

Please sign in to comment.