mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-10-06 11:37:50 +02:00
Added copying of the default file if the file is missing
This commit is contained in:
parent
a978325750
commit
d7b1818b12
@ -28,6 +28,7 @@ public class AdvancedPortalsCore {
|
||||
}
|
||||
|
||||
private void onEnable() {
|
||||
this.dataStorage.copyDefaultFile("lang/en_GB.lang", false);
|
||||
Lang.loadLanguage("en_GB");
|
||||
this.loadPortalConfig();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user