21 lines
475 B
Go
21 lines
475 B
Go
package server
|
|
|
|
import (
|
|
"git.konjactw.dev/patyhank/minego/pkg/protocol/packet/game/server"
|
|
"github.com/Tnze/go-mc/data/packetid"
|
|
)
|
|
|
|
type ConfigClientInformation struct {
|
|
server.ClientInformation
|
|
}
|
|
|
|
func (*ConfigClientInformation) PacketID() packetid.ServerboundPacketID {
|
|
return packetid.ServerboundConfigClientInformation
|
|
}
|
|
|
|
func init() {
|
|
registerPacket(packetid.ServerboundConfigClientInformation, func() ServerboundPacket {
|
|
return &ConfigClientInformation{}
|
|
})
|
|
}
|