From 49c17c4a1819a6b476cd612651e81a432382cee9 Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 6 May 2021 13:38:49 +0100 Subject: [PATCH] Clarify message in API NotLoadedException --- api/src/main/java/net/luckperms/api/LuckPermsProvider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/main/java/net/luckperms/api/LuckPermsProvider.java b/api/src/main/java/net/luckperms/api/LuckPermsProvider.java index b69135ccc..4f9579aa8 100644 --- a/api/src/main/java/net/luckperms/api/LuckPermsProvider.java +++ b/api/src/main/java/net/luckperms/api/LuckPermsProvider.java @@ -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);