fix: display correct NotRegisteredException cause

feat/data-edit-commands
William 6 months ago
parent 516c243df8
commit e3fb1762a1
No known key found for this signature in database

@ -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() {

Loading…
Cancel
Save