Skip to content

Commit

Permalink
Fix startup error on velocity
Browse files Browse the repository at this point in the history
  • Loading branch information
KaspianDev committed Jul 7, 2024
1 parent a989e5d commit 8dbfa08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tasks {

allprojects {
group = "com.github.kaspiandev.antipopup"
version = "9"
version = "9.1"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8dbfa08

Please sign in to comment.