refactor package
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package client
|
||||
|
||||
import "github.com/Tnze/go-mc/data/packetid"
|
||||
|
||||
//codec:gen
|
||||
type ConfigClearDialog struct {
|
||||
}
|
||||
|
||||
func (ConfigClearDialog) PacketID() packetid.ClientboundPacketID {
|
||||
return packetid.ClientboundConfigClearDialog
|
||||
}
|
||||
|
||||
func init() {
|
||||
registerPacket(packetid.ClientboundConfigClearDialog, func() ClientboundPacket {
|
||||
return &ConfigClearDialog{}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user