Skip to content

Commit

Permalink
Improve comment in ChannelInitializerHolder (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael authored Feb 1, 2025
1 parent 6e11b0f commit 8f30738
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
import lombok.Data;

/*
* This class is used to hold a ChannelInitializer<Channel> object.
* This could be very usefully for plugins like Geyser or ViaVersion
* That require to access the ChannelInitializer to modify the pipeline
* Holder class for frontend and backend channel initializers. BungeeCord will set these values
* on startup, and they can be used by third party plugins to modify the channel pipeline.
*
* THIS IS VERY UNSAFE AND SHOULD BE USED WITH CAUTION
* Please note that this API is unsafe and doesn't provide any guarantees about the stability of the
* channel pipeline. Use at your own risk.
*/
@Data
public class ChannelInitializerHolder
Expand Down

0 comments on commit 8f30738

Please sign in to comment.