Skip to content

Commit

Permalink
don't set an illegal serializer for removed packet
Browse files Browse the repository at this point in the history
  • Loading branch information
onebeastchris committed Dec 10, 2024
1 parent 5b90b11 commit b843be5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
import org.cloudburstmc.protocol.bedrock.packet.SimpleEventPacket;
import org.cloudburstmc.protocol.bedrock.packet.SubChunkRequestPacket;
import org.cloudburstmc.protocol.bedrock.packet.SubClientLoginPacket;
import org.cloudburstmc.protocol.bedrock.packet.TickSyncPacket;
import org.cloudburstmc.protocol.common.util.VarInts;

/**
Expand Down Expand Up @@ -293,8 +292,7 @@ static BedrockCodec processCodec(BedrockCodec codec) {
// Ignored bidirectional packets
.updateSerializer(ClientCacheStatusPacket.class, IGNORED_SERIALIZER)
.updateSerializer(SimpleEventPacket.class, IGNORED_SERIALIZER)
.updateSerializer(MultiplayerSettingsPacket.class, IGNORED_SERIALIZER)
.updateSerializer(TickSyncPacket.class, IGNORED_SERIALIZER);
.updateSerializer(MultiplayerSettingsPacket.class, IGNORED_SERIALIZER);

return codecBuilder.build();
}
Expand Down

0 comments on commit b843be5

Please sign in to comment.