From 8dbfa08fcd9c4b8f4eabd3f5eca149cc530c1942 Mon Sep 17 00:00:00 2001 From: KaspianDev Date: Sun, 7 Jul 2024 18:00:05 +0200 Subject: [PATCH] Fix startup error on velocity --- build.gradle | 2 +- .../com/github/kaspiandev/antipopup/velocity/AntiPopup.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index dda635d..b7e2280 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ tasks { allprojects { group = "com.github.kaspiandev.antipopup" - version = "9" + version = "9.1" repositories { mavenCentral() diff --git a/velocity/src/main/java/com/github/kaspiandev/antipopup/velocity/AntiPopup.java b/velocity/src/main/java/com/github/kaspiandev/antipopup/velocity/AntiPopup.java index 29a9c82..62aebbd 100644 --- a/velocity/src/main/java/com/github/kaspiandev/antipopup/velocity/AntiPopup.java +++ b/velocity/src/main/java/com/github/kaspiandev/antipopup/velocity/AntiPopup.java @@ -43,7 +43,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) { PluginContainer pluginContainer = server.getPluginManager().ensurePluginContainer(this); PacketEvents.setAPI(VelocityPacketEventsBuilder.build(server, pluginContainer, logger, dataDirectory)); - PacketEvents.getAPI().getSettings().debug(false).bStats(false).checkForUpdates(false); + PacketEvents.getAPI().getSettings().debug(false).checkForUpdates(false); PacketEvents.getAPI().load(); PacketEvents.getAPI().getEventManager().registerListener(new PacketEventsListener(platform)); PacketEvents.getAPI().init();