9
0
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:
William
2024-06-09 14:47:26 +01:00
parent 516c243df8
commit e3fb1762a1

View File

@@ -519,7 +519,7 @@ public class HuskSyncAPI {
3) You are attempting to access HuskSync on plugin construction/before your plugin has enabled.""";
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() {