ffs there is a nil return here

This commit is contained in:
ethaniccc
2026-01-01 16:12:33 -05:00
parent af58ea5ed9
commit 2ad86d772f

View File

@@ -430,7 +430,6 @@ func (p *Protocol) downgradePackets(pks []packet.Packet, conn *minecraft.Conn) [
OnGround: pk.OnGround,
Tick: pk.Tick,
}
return nil
case *packet.Disconnect:
pks[pkIndex] = &legacypacket.Disconnect{
Reason: pk.Reason,