deprecate protocollib use

This commit is contained in:
2026-10-11 13:55:16 +02:00
parent e75ef8aa3f
commit 35fb36e77a
2 changed files with 6 additions and 0 deletions
@@ -18,6 +18,7 @@ import org.bukkit.plugin.Plugin;
import java.util.HashSet;
@Deprecated(forRemoval = true)
public class PacketCommandPreProcessListener {
public static void protocol(CommandWhitelistBukkit plugin) {
@@ -162,6 +162,11 @@ public class ConfigCache {
groupList.put(key, loadCWGroup(key, groupSection));
}
if (canDoProtocolLib) {
warn("Protocollib support is deprecated and will be removed in future versions. If you have an actual" +
" use case for it (aka plugin does not work without it), please reach out via discord (https://discord.youhavetrouble.me).");
}
return saveConfig();
}