mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	Locale NPE
This commit is contained in:
		@@ -454,7 +454,10 @@ public class MainConfig extends ConfigValidated {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public String getLocale() {
 | 
					    public String getLocale() {
 | 
				
			||||||
        return getStringValue(GENERAL, LOCALE, EN_US);
 | 
					        if(hasNode(GENERAL, LOCALE))
 | 
				
			||||||
 | 
					            return getStringValue(GENERAL, LOCALE);
 | 
				
			||||||
 | 
					        else
 | 
				
			||||||
 | 
					            return "en_US";
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public boolean getMOTDEnabled() {
 | 
					    public boolean getMOTDEnabled() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user