Merge pull request #557 from Shukaro/master

Fixed NPE crash with Factorization Barrels
This commit is contained in:
SirSengir 2013-01-10 03:01:13 -08:00
commit 27e8d4c877

View file

@ -51,6 +51,9 @@ public class Localization {
* @return
*/
public static synchronized String get(String key) {
if (getCurrentLanguage() == null) {
return key;
}
if (!getCurrentLanguage().equals(loadedLanguage)) {
defaultMappings.clear();
mappings.clear();