Remove deprecated packet

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle 2024-04-20 18:06:33 -07:00
parent fe26035668
commit 8c2c566f7d
No known key found for this signature in database
GPG key ID: 7ECA1A2FC38ABA9F

View file

@ -294,12 +294,11 @@ public final class GameProtocol {
packet.setContainerId(buffer.readByte()); packet.setContainerId(buffer.readByte());
} }
}) })
// Illegal bidirectional packets // // Illegal bidirectional packets
.updateSerializer(DebugInfoPacket.class, setIllegalSerializer()) .updateSerializer(DebugInfoPacket.class, setIllegalSerializer())
.updateSerializer(EditorNetworkPacket.class, setIllegalSerializer()) .updateSerializer(EditorNetworkPacket.class, setIllegalSerializer())
.updateSerializer(ScriptCustomEventPacket.class, setIllegalSerializer())
.updateSerializer(ScriptMessagePacket.class, setIllegalSerializer()) .updateSerializer(ScriptMessagePacket.class, setIllegalSerializer())
// Ignored bidirectional packets // // Ignored bidirectional packets
.updateSerializer(DisconnectPacket.class, setIgnoredSerializer()) .updateSerializer(DisconnectPacket.class, setIgnoredSerializer())
.updateSerializer(SimpleEventPacket.class, setIgnoredSerializer()) .updateSerializer(SimpleEventPacket.class, setIgnoredSerializer())
.updateSerializer(TickSyncPacket.class, setIgnoredSerializer()) .updateSerializer(TickSyncPacket.class, setIgnoredSerializer())