mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Change] BotGlobal 补充IllegalStateException错误信息;
This commit is contained in:
parent
85088e1b2c
commit
44a7f49510
@ -27,7 +27,7 @@ public final class BotGlobal {
|
|||||||
|
|
||||||
public static BotGlobal getGlobal() {
|
public static BotGlobal getGlobal() {
|
||||||
if(instance == null) {
|
if(instance == null) {
|
||||||
throw new IllegalStateException("");
|
throw new IllegalStateException("BotGlobal has not been initialized");
|
||||||
}
|
}
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user