mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
We need to reset customLocale when going back to EN
This commit is contained in:
parent
0e6a8afbb7
commit
fa1531f763
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>Jobs</groupId>
|
||||
<artifactId>jobs</artifactId>
|
||||
<version>4.15.4</version>
|
||||
<version>4.15.8</version>
|
||||
<name>Jobs</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
|
||||
|
@ -45,9 +45,7 @@ public class Language {
|
||||
*/
|
||||
public void reload() {
|
||||
String ls = Jobs.getGCManager().localeString.toLowerCase();
|
||||
if (!ls.equals("en")) {
|
||||
customlocale = new YmlMaker(plugin, "locale/messages_" + ls + ".yml").getConfig();
|
||||
}
|
||||
enlocale = new YmlMaker(plugin, "locale/messages_en.yml").getConfig();
|
||||
if (customlocale == null)
|
||||
customlocale = enlocale;
|
||||
|
Loading…
Reference in New Issue
Block a user