master
HimbeerserverDE 2021-04-02 17:24:32 +02:00
parent 6dc5272614
commit 37a5681484
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
2 changed files with 5 additions and 4 deletions

View File

@ -154,11 +154,10 @@ func (c *Conn) CloseWith(reason uint8, custom string, reconnect bool) error {
WriteUint8(w, 0)
}
ack, err := c.Send(rudp.Pkt{Reader: w})
_, err := c.Send(rudp.Pkt{Reader: w})
if err != nil {
return err
}
<-ack
return nil
}

View File

@ -262,8 +262,10 @@ func mergeItemdefs(mgrs map[string][]byte) error {
dr.Seek(2, io.SeekStart)
itemName := string(ReadBytes16(dr))
dr.Seek(22, io.SeekCurrent)
ReadBytes16(dr)
ReadBytes16(dr)
ReadBytes16(dr)
dr.Seek(16, io.SeekCurrent)
capablen := ReadUint16(dr)