add license and fix some bugs

This commit is contained in:
2026-02-17 22:25:39 +08:00
parent a885a7eec4
commit da87c54494
15 changed files with 528 additions and 543 deletions
@@ -2,6 +2,7 @@ package client
import (
"git.konjactw.dev/falloutBot/go-mc/chat"
pk "git.konjactw.dev/falloutBot/go-mc/net/packet"
)
//codec:gen
@@ -9,5 +10,5 @@ type ServerData struct {
MOTD chat.Message
HasIcon bool
//opt:optional:HasIcon
Icon []int8 `mc:"Byte"`
Icon pk.ByteArray
}