mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-01 12:57:26 +00:00
[Change] BotGlobal 补充IllegalStateException错误信息;
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user