Added copying of the default file if the file is missing

This commit is contained in:
sekwah 2018-01-22 22:04:21 +00:00
parent a978325750
commit d7b1818b12

View File

@ -28,6 +28,7 @@ public class AdvancedPortalsCore {
}
private void onEnable() {
this.dataStorage.copyDefaultFile("lang/en_GB.lang", false);
Lang.loadLanguage("en_GB");
this.loadPortalConfig();