mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
force exist when fail to load non default config [skip ci]
This commit is contained in:
parent
90cc758e88
commit
21087b89e0
1 changed files with 2 additions and 1 deletions
|
|
@ -240,7 +240,8 @@ open class CustomAnvil : JavaPlugin() {
|
|||
|
||||
// Load config
|
||||
if (!ConfigHolder.loadNonDefaultConfig()) {
|
||||
logger.log(Level.SEVERE,"could not load non default config.")
|
||||
logger.log(Level.SEVERE,"Plugin has an issue while trying to load non default config... exiting...")
|
||||
server.pluginManager.disablePlugin(this)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue