We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MaxChunkRadius
1 parent b3fccf8 commit 00fc00cCopy full SHA for 00fc00c
minecraft/protocol/packet/request_chunk_radius.go
@@ -13,7 +13,7 @@ type RequestChunkRadius struct {
13
ChunkRadius int32
14
// MaxChunkRadius is the maximum chunk radius that the player wants to receive. The reason for the client sending this
15
// is currently unknown.
16
- MaxChunkRadius int32
+ MaxChunkRadius uint8
17
}
18
19
// ID ...
@@ -23,5 +23,5 @@ func (*RequestChunkRadius) ID() uint32 {
23
24
func (pk *RequestChunkRadius) Marshal(io protocol.IO) {
25
io.Varint32(&pk.ChunkRadius)
26
- io.Varint32(&pk.MaxChunkRadius)
+ io.Uint8(&pk.MaxChunkRadius)
27
0 commit comments