unregister Global Receiver
@Nullable()
Content copied to clipboard
Removes the handler of a query response channel.A global receiver is registered to all connections, in the present and future.
The {@code channel}
is guaranteed not to have a handler after this call.
Return
the previous handler, or {@code null}
if no handler was bound to the channel
See also
net.fabricmc.fabric.api.networking.v1.ServerLoginNetworking
ServerLoginNetworking#unregisterReceiver(ServerLoginNetworkHandler, Identifier)
Parameters
channelName
the id of the channel
Sources
jvm source
Link copied to clipboard