diff --git a/LICENSE.md b/LICENSE.md index c3d1668aca..2abc9a2738 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -58,4 +58,5 @@ Jakubk15 Redned Luke Chambers Emily +dawon ``` diff --git a/patches/server/Adventure.patch b/patches/server/Adventure.patch index 3dc774c38a..b756a6f644 100644 --- a/patches/server/Adventure.patch +++ b/patches/server/Adventure.patch @@ -799,7 +799,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + } + } + } -+ final @NotNull String translated = Language.getInstance().getOrDefault(translatable.key()); ++ final @Nullable String fallback = translatable.fallback(); ++ final @NotNull String translated = Language.getInstance().getOrDefault(translatable.key(), fallback != null ? fallback : translatable.key()); + + final Matcher matcher = LOCALIZATION_PATTERN.matcher(translated); + final List args = translatable.args();