Skip to content

Commit

Permalink
Fix stupid geyser bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SageSphinx63920 committed Aug 6, 2024
1 parent e29e0c9 commit ae05fb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
<dependency>
<groupId>org.geysermc.geyser</groupId>
<artifactId>api</artifactId>
<version>2.3.1-SNAPSHOT</version>
<version>2.4.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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"));
}
}

1 comment on commit ae05fb0

@SageSphinx63920
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently this issue is the same as GeyserMC/Floodgate#178. There is no ETA on the fix yet, but as said it should be fixed in Floodgate 3.0. Thanks for @Tim203 for working on floodgate <3

Please sign in to comment.