Forráskód Böngészése

Don't complain about missing Guide strings

TfT_02 11 éve
szülő
commit
14175a6dfd

+ 4 - 1
src/main/java/com/gmail/nossr50/locale/LocaleLoader.java

@@ -41,7 +41,10 @@ public final class LocaleLoader {
                 return getString(key, enBundle, messageArguments);
                 return getString(key, enBundle, messageArguments);
             }
             }
             catch (MissingResourceException ex2) {
             catch (MissingResourceException ex2) {
-                mcMMO.p.getLogger().warning("Could not find locale string: " + key);
+                if (!key.contains("Guides")) {
+                    mcMMO.p.getLogger().warning("Could not find locale string: " + key);
+                }
+
                 return '!' + key + '!';
                 return '!' + key + '!';
             }
             }
         }
         }