mirror of
https://github.com/YouHaveTrouble/CommandWhitelist.git
synced 2026-10-26 13:55:33 +00:00
deprecate protocollib use
This commit is contained in:
+1
@@ -18,6 +18,7 @@ import org.bukkit.plugin.Plugin;
|
|||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
|
||||||
|
@Deprecated(forRemoval = true)
|
||||||
public class PacketCommandPreProcessListener {
|
public class PacketCommandPreProcessListener {
|
||||||
|
|
||||||
public static void protocol(CommandWhitelistBukkit plugin) {
|
public static void protocol(CommandWhitelistBukkit plugin) {
|
||||||
|
|||||||
+5
@@ -162,6 +162,11 @@ public class ConfigCache {
|
|||||||
groupList.put(key, loadCWGroup(key, groupSection));
|
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();
|
return saveConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user