Files
minego/pkg/protocol/packet/game/server/lock_difficulty.go
2025-08-27 20:28:44 +08:00

19 lines
368 B
Go

package server
import "git.konjactw.dev/falloutBot/go-mc/data/packetid"
//codec:gen
type LockDifficulty struct {
Locked bool
}
func (*LockDifficulty) PacketID() packetid.ServerboundPacketID {
return packetid.ServerboundLockDifficulty
}
func init() {
registerPacket(packetid.ServerboundLockDifficulty, func() ServerboundPacket {
return &LockDifficulty{}
})
}