Skip to content

Commit

Permalink
Fix wrong condition in BungeeCord injector
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesdevelopment committed Feb 28, 2025
1 parent c56d41c commit 7de08ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private static void injectOnModernBungeeCord() {
final BungeeChannelInitializer newInitializer = BungeeChannelInitializer.create(
channel -> {
// https://github.com/SpigotMC/BungeeCord/pull/3787#issuecomment-2661059876
if (original.getChannelAcceptor().accept(channel)) {
if (!original.getChannelAcceptor().accept(channel)) {
return false;
}
FallbackInjectedChannelInitializer.inject(channel,
Expand Down

0 comments on commit 7de08ff

Please sign in to comment.