Merge branch 'v1.20.2'

This commit is contained in:
Tnze
2024-04-27 20:55:30 +08:00
13 changed files with 73 additions and 2668 deletions

View File

@ -17,12 +17,16 @@ type Client struct {
Conn *Conn
Auth Auth
// These are filled when login process
Name string
UUID uuid.UUID
Events Events
LoginPlugin map[string]func(data []byte) ([]byte, error)
ConfigData
// Ingame packet handlers
Events Events
// Login plugins
LoginPlugin map[string]func(data []byte) ([]byte, error)
}
func (c *Client) Close() error {