Update PacketEvents to 2.11.2

This commit is contained in:
NotAlexNoyle committed 2026-06-17 13:47:57 -04:00
1 parent 8055ed5502
commit d7623cc0d7
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ dependencies {
// JSR-305 annotations (javax.annotation.Nullable)
compileOnly("com.google.code.findbugs:jsr305:3.0.2")
// PacketEvents
implementation("com.github.retrooper:packetevents-spigot:2.12.1")
implementation("com.github.retrooper:packetevents-spigot:2.11.2")
// XSeries
implementation("com.github.cryptomorin:XSeries:13.7.0")
@@ -63,6 +63,7 @@ public class OCMMain extends JavaPlugin {
@Override
public void onLoad() {
PacketEvents.setAPI(SpigotPacketEventsBuilder.build(this));
PacketEvents.getAPI().getSettings().checkForUpdates(false);
PacketEvents.getAPI().load();
}