forEachViewedPlayer

open fun forEachViewedPlayer(@NotNull consumer: @NotNull Consumer<PlayerChannelHandler>)

Performs the given action for each player channel handler who passes the view filter.


pipeline.forEachViewedPlayer(handler -> bundler.send(handler));

Since

3.6.0

Parameters

consumer

the action to perform on each viewed player channel handler

Throws