mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-08 21:14:41 -04:00
Fix v0 deprecation javadoc error (#1209)
This commit is contained in:
parent
64c503a93e
commit
d3799feeea
2 changed files with 4 additions and 2 deletions
fabric-networking-v0/src/main/java/net/fabricmc/fabric/api/event/network
|
@ -24,6 +24,7 @@ import net.minecraft.util.Identifier;
|
|||
import net.fabricmc.fabric.api.client.networking.v1.C2SPlayChannelEvents;
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
||||
import net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents;
|
||||
|
||||
/**
|
||||
* Event for listening to packet type registration and unregistration notifications
|
||||
|
@ -32,7 +33,7 @@ import net.fabricmc.fabric.api.event.EventFactory;
|
|||
* <p>Registrations received will be for <em>server -> client</em> packets
|
||||
* that the sending client can understand.
|
||||
*
|
||||
* @deprecated Please migrate to {@link C2SPlayChannelEvents}.
|
||||
* @deprecated Please migrate to {@link S2CPlayChannelEvents} since this was incorrectly named.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface C2SPacketTypeCallback {
|
||||
|
|
|
@ -20,6 +20,7 @@ import java.util.Collection;
|
|||
|
||||
import net.minecraft.util.Identifier;
|
||||
|
||||
import net.fabricmc.fabric.api.client.networking.v1.C2SPlayChannelEvents;
|
||||
import net.fabricmc.fabric.api.event.Event;
|
||||
import net.fabricmc.fabric.api.event.EventFactory;
|
||||
import net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents;
|
||||
|
@ -31,7 +32,7 @@ import net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents;
|
|||
* <p>Registrations received will be for <em>client -> server</em> packets
|
||||
* that the sending server can understand.
|
||||
*
|
||||
* @deprecated Please migrate to {@link S2CPlayChannelEvents}.
|
||||
* @deprecated Please migrate to {@link C2SPlayChannelEvents} since this was incorrectly named.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface S2CPacketTypeCallback {
|
||||
|
|
Loading…
Add table
Reference in a new issue