From f0ff200d687979fc1892c7ddb0c5ea9ca2c66ae9 Mon Sep 17 00:00:00 2001 From: LovesAsuna Date: Sat, 24 Oct 2020 11:17:13 +0800 Subject: [PATCH] =?UTF-8?q?perf(main):=20=E4=BC=98=E5=8C=96=E7=A9=BA?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/org/sct/lock/Lock.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/sct/lock/Lock.kt b/src/main/java/org/sct/lock/Lock.kt index 59926b5..63e011e 100644 --- a/src/main/java/org/sct/lock/Lock.kt +++ b/src/main/java/org/sct/lock/Lock.kt @@ -28,7 +28,7 @@ class Lock : JavaPlugin() { ClassUtil.forceLoad(Lang::class.java) Lang.load() easyLibAPI.ecoAPI.loadVault() - pool!!.submit { + pool.submit { FileUpdate.update(instance, "config.yml", dataFolder.path) FileUpdate.update(instance, config.getString(ConfigType.SETTING_LANGUAGE.path) + ".yml", dataFolder.path) CheckUpdate.check(Bukkit.getConsoleSender(), instance, "LovesAsuna", "ZDRlZWY4ZDZlMzIyNDExYjk3NThlMGNiN2ZmYzg3NTRiOGIwZDUzZA==")