From d7b1818b12754202ba2576a11eb084b49daf871a Mon Sep 17 00:00:00 2001 From: sekwah Date: Mon, 22 Jan 2018 22:04:21 +0000 Subject: [PATCH] Added copying of the default file if the file is missing --- src/com/sekwah/advancedportals/core/AdvancedPortalsCore.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/sekwah/advancedportals/core/AdvancedPortalsCore.java b/src/com/sekwah/advancedportals/core/AdvancedPortalsCore.java index 5947c59..67adca8 100644 --- a/src/com/sekwah/advancedportals/core/AdvancedPortalsCore.java +++ b/src/com/sekwah/advancedportals/core/AdvancedPortalsCore.java @@ -28,6 +28,7 @@ public class AdvancedPortalsCore { } private void onEnable() { + this.dataStorage.copyDefaultFile("lang/en_GB.lang", false); Lang.loadLanguage("en_GB"); this.loadPortalConfig();