mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-19 14:59:21 +00:00
fix: display correct NotRegisteredException cause
This commit is contained in:
@@ -519,7 +519,7 @@ public class HuskSyncAPI {
|
|||||||
3) You are attempting to access HuskSync on plugin construction/before your plugin has enabled.""";
|
3) You are attempting to access HuskSync on plugin construction/before your plugin has enabled.""";
|
||||||
|
|
||||||
NotRegisteredException(@NotNull String reasons) {
|
NotRegisteredException(@NotNull String reasons) {
|
||||||
super("Could not access the HuskSync API as it has not yet been registered. %s".formatted(REASONS));
|
super("Could not access the HuskSync API as it has not yet been registered. %s".formatted(reasons));
|
||||||
}
|
}
|
||||||
|
|
||||||
NotRegisteredException() {
|
NotRegisteredException() {
|
||||||
|
|||||||
Reference in New Issue
Block a user