refactor package
This commit is contained in:
17
pkg/protocol/packet/game/server/client_tick_end.go
Normal file
17
pkg/protocol/packet/game/server/client_tick_end.go
Normal file
@ -0,0 +1,17 @@
|
||||
package server
|
||||
|
||||
import "github.com/Tnze/go-mc/data/packetid"
|
||||
|
||||
//codec:gen
|
||||
type ClientTickEnd struct {
|
||||
}
|
||||
|
||||
func (ClientTickEnd) PacketID() packetid.ServerboundPacketID {
|
||||
return packetid.ServerboundClientTickEnd
|
||||
}
|
||||
|
||||
func init() {
|
||||
registerPacket(packetid.ServerboundClientTickEnd, func() ServerboundPacket {
|
||||
return &ClientTickEnd{}
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user