[Change] BotGlobal 补充IllegalStateException错误信息;

This commit is contained in:
LamGC 2020-06-15 15:48:07 +08:00
parent 85088e1b2c
commit 44a7f49510

View File

@ -27,7 +27,7 @@ public final class BotGlobal {
public static BotGlobal getGlobal() {
if(instance == null) {
throw new IllegalStateException("");
throw new IllegalStateException("BotGlobal has not been initialized");
}
return instance;
}