Skip to content

Commit

Permalink
protocol/sub_chunk.go: Update constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustTalDevelops committed Mar 23, 2023
1 parent b0422d9 commit 7cd1415
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions minecraft/protocol/sub_chunk.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package protocol

import "math"

const (
HeightMapDataNone = iota
HeightMapDataHasData
Expand All @@ -8,8 +10,7 @@ const (
)

const (
SubChunkRequestModeLegacy = iota
SubChunkRequestModeLimitless
SubChunkRequestModeLimitless = math.MaxUint32 - iota
SubChunkRequestModeLimited
)

Expand Down

0 comments on commit 7cd1415

Please sign in to comment.