Skip to content

Commit

Permalink
perf(main): 优化空类型检查
Browse files Browse the repository at this point in the history
  • Loading branch information
LovesAsuna committed Oct 24, 2020
1 parent fd053eb commit f0ff200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/sct/lock/Lock.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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==")
Expand Down

0 comments on commit f0ff200

Please sign in to comment.