chore: update packetevents

This commit is contained in:
bridge 2025-09-30 23:03:01 +02:00
parent 0a6b2f4fea
commit 542cd75cb7
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ dependencies {
compileOnly "me.clip:placeholderapi:2.11.6" // Placeholder support
implementation "com.google.code.gson:gson:2.10.1" // JSON parsing
implementation "org.bstats:bstats-bukkit:3.0.2" // Plugin stats
implementation "com.github.retrooper:packetevents-spigot:2.9.3" // Packets
implementation "com.github.retrooper:packetevents-spigot:2.9.5" // Packets
implementation "space.arim.dazzleconf:dazzleconf-ext-snakeyaml:1.2.1" // Configs
implementation "lol.pyr:director-adventure:2.1.2" // Commands

View file

@ -89,7 +89,7 @@ public class ZNpcsPlus {
this.bootstrap = bootstrap;
packetEvents = SpigotPacketEventsBuilder.build(bootstrap);
PacketEvents.setAPI(packetEvents);
packetEvents.getSettings().checkForUpdates(false);
packetEvents.getSettings().checkForUpdates(false).kickOnPacketException(false);
packetEvents.load();
configManager = new ConfigManager(getDataFolder());