From 29c93fac4fc55040f661ca9f3ef6b9e120249e30 Mon Sep 17 00:00:00 2001 From: Luck Date: Wed, 4 Dec 2024 11:27:14 +0000 Subject: [PATCH] Add note about shading LuckPerms API into plugin jars --- api/src/main/java/net/luckperms/api/LuckPermsProvider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/main/java/net/luckperms/api/LuckPermsProvider.java b/api/src/main/java/net/luckperms/api/LuckPermsProvider.java index 4f9579aa8..4f36c2d28 100644 --- a/api/src/main/java/net/luckperms/api/LuckPermsProvider.java +++ b/api/src/main/java/net/luckperms/api/LuckPermsProvider.java @@ -79,7 +79,8 @@ public final class LuckPermsProvider { " a) the LuckPerms plugin is not installed or it failed to enable\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"; + " (call the #get method in onEnable, not the constructor!)\n" + + " d) the plugin in the stacktrace is incorrectly 'shading' the LuckPerms API into its jar\n"; NotLoadedException() { super(MESSAGE);