add to Buscript failed to load message

This commit is contained in:
Kermina Awad 2021-04-24 14:13:40 -04:00
parent 7928e73a32
commit 91f3304f78
1 changed files with 3 additions and 1 deletions

View File

@ -364,7 +364,9 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
// Add global variable "multiverse" to javascript environment
buscript.setScriptVariable("multiverse", this);
} catch (NullPointerException e) {
Logging.warning("Buscript failed to load! The script command will be disabled!");
Logging.warning("Buscript failed to load! The script command will be disabled! " +
"If you would like not to see this message, " +
"use `/mv conf enablebuscript false` to disable Buscript from loading.");
}
}
}