Skip to content

Commit

Permalink
space
Browse files Browse the repository at this point in the history
  • Loading branch information
Outfluencer authored Aug 26, 2024
1 parent 4988053 commit 91fc212
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected void initChannel(Channel ch) throws Exception
HandlerBoss handlerBoss = ch.pipeline().get( HandlerBoss.class );
handlerBoss.setHandler( new InitialHandler( BungeeCord.getInstance(), listener ) );
int packetLimit = BungeeCord.getInstance().getConfig().getMaxPacketsPerSecond();
if( packetLimit > 0 )
if ( packetLimit > 0 )
{
handlerBoss.setLimiter( new PacketLimiter( packetLimit ) );
}
Expand Down

0 comments on commit 91fc212

Please sign in to comment.