Skip to content

Commit

Permalink
Fix Geyser exemption sometimes skipping Java players (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesdevelopment authored Nov 10, 2023
1 parent 6b6acb8 commit 9ac8447
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ private AttributeKey<Object> playerAttribute() {
public boolean isGeyserConnection(final @NotNull Channel channel) {
// https://discord.com/channels/613163671870242838/613170125696270357/1168599123889504266
// Every floodgate player has a channel attribute called "floodgate-player"
return channel.hasAttr(playerAttribute());
return channel.attr(playerAttribute()).get() != null;
}
}

0 comments on commit 9ac8447

Please sign in to comment.