1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-08-22 06:02:49 +02:00

Clarify message in API NotLoadedException

This commit is contained in:
Luck
2021-05-06 13:38:49 +01:00
parent 7c42b9aeca
commit 49c17c4a18

View File

@@ -77,9 +77,9 @@ public final class LuckPermsProvider {
private static final String MESSAGE = "The LuckPerms API isn't loaded yet!\n" +
"This could be because:\n" +
" a) the LuckPerms plugin is not installed or it failed to enable\n" +
" b) your plugin does not declare a dependency on LuckPerms\n" +
" c) you are attempting to use the API before plugins reach the 'enable' phase\n" +
" (call the #get method in onEnable, not in your plugin constructor!)\n";
" b) the plugin in the stacktrace does not declare a dependency on LuckPerms\n" +
" c) the plugin in the stacktrace is retrieving the API before the plugin 'enable' phase\n" +
" (call the #get method in onEnable, not the constructor!)\n";
NotLoadedException() {
super(MESSAGE);