update packetid to 1.21

fix compile issue
This commit is contained in:
Tnze
2024-06-15 17:36:13 +08:00
parent 62c9d72851
commit fff914a786
6 changed files with 265 additions and 220 deletions

View File

@ -105,7 +105,8 @@ func (c *Client) joinConfiguration(conn *net.Conn) error {
return ConfigErr{"registry data", err}
}
case packetid.ClientboundConfigResourcePack:
case packetid.ClientboundConfigResourcePackPop: // TODO
case packetid.ClientboundConfigResourcePackPush:
var Url, Hash pk.String
var Forced pk.Boolean
var PromptMessage pk.Option[chat.Message, *chat.Message]