Command parse compound

This commit is contained in:
Tnze
2022-01-03 15:57:54 +08:00
parent 9433dd98de
commit be3a834696
13 changed files with 250 additions and 114 deletions

View File

@ -87,10 +87,7 @@ func (g *GlobalChat) Run(ctx context.Context) {
func (g *GlobalChat) broadcast(packet Packet757) {
for _, p := range g.players {
err := p.WritePacket(packet)
if err != nil {
p.PutErr(err)
}
p.WritePacket(packet)
}
}