diff --git a/pom.xml b/pom.xml index 12a9d0d..4ce46da 100644 --- a/pom.xml +++ b/pom.xml @@ -267,7 +267,7 @@ org.geysermc.geyser api - 2.3.1-SNAPSHOT + 2.4.1-SNAPSHOT provided diff --git a/src/main/java/de/hdg/keklist/extentions/GeyserEventRegistrar.java b/src/main/java/de/hdg/keklist/extentions/GeyserEventRegistrar.java index 83b2ec7..2c8485b 100644 --- a/src/main/java/de/hdg/keklist/extentions/GeyserEventRegistrar.java +++ b/src/main/java/de/hdg/keklist/extentions/GeyserEventRegistrar.java @@ -3,7 +3,6 @@ import de.hdg.keklist.Keklist; import de.hdg.keklist.events.GeyserConnectionEvent; import lombok.SneakyThrows; -import org.geysermc.event.PostOrder; import org.geysermc.geyser.api.GeyserApi; import org.geysermc.geyser.api.event.EventRegistrar; import org.geysermc.geyser.api.event.connection.ConnectionRequestEvent; @@ -20,7 +19,7 @@ public GeyserEventRegistrar(GeyserApi geyserApi, Keklist keklist) { @SneakyThrows public void registerEvents() { - geyserApi.eventBus().subscribe(this, ConnectionRequestEvent.class, GeyserConnectionEvent::onConnectionRequestEvent, PostOrder.FIRST); + geyserApi.eventBus().subscribe(this, ConnectionRequestEvent.class, GeyserConnectionEvent::onConnectionRequestEvent/*, PostOrder.FIRST*/); // Commented out due to a bug in Geyser keklist.getLogger().info(Keklist.getTranslations().get("geyser.events.registered")); } }