Skip to content

Commit

Permalink
Inherit annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Sep 19, 2024
1 parent 549170a commit 8f85079
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.geysermc.mcprotocollib.network.codec.PacketCodecHelper;
import org.geysermc.mcprotocollib.network.helper.TransportHelper;
import org.geysermc.mcprotocollib.network.packet.PacketProtocol;
import org.jetbrains.annotations.NotNull;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -100,7 +101,7 @@ public void connect(boolean wait, boolean transferring) {
.localAddress(bindAddress, bindPort)
.handler(new ChannelInitializer<>() {
@Override
public void initChannel(Channel channel) {
public void initChannel(@NotNull Channel channel) {
PacketProtocol protocol = getPacketProtocol();
protocol.newClientSession(TcpClientSession.this, transferring);

Expand Down

0 comments on commit 8f85079

Please sign in to comment.