update for new protocol
This commit is contained in:
parent
64396f7802
commit
8d4a7265f0
2
go.mod
2
go.mod
|
@ -18,7 +18,7 @@ require (
|
|||
|
||||
//replace github.com/df-mc/dragonfly => ./dragonfly
|
||||
|
||||
replace github.com/sandertv/gophertunnel => github.com/olebeck/gophertunnel v1.24.7
|
||||
replace github.com/sandertv/gophertunnel => github.com/olebeck/gophertunnel v1.24.8
|
||||
|
||||
replace github.com/df-mc/dragonfly => github.com/olebeck/dragonfly v0.8.2-5
|
||||
|
||||
|
|
2
world.go
2
world.go
|
@ -165,7 +165,7 @@ func (w *WorldState) ProcessLevelChunk(pk *packet.LevelChunk) {
|
|||
} else {
|
||||
// request all the subchunks
|
||||
|
||||
var Offset_table = [][3]int8{
|
||||
var Offset_table = []protocol.SubChunkOffset{
|
||||
{0, 0, 0}, {0, 1, 0}, {0, 2, 0}, {0, 3, 0},
|
||||
{0, 4, 0}, {0, 5, 0}, {0, 6, 0}, {0, 7, 0},
|
||||
{0, 8, 0}, {0, 9, 0}, {0, 10, 0}, {0, 11, 0},
|
||||
|
|
Loading…
Reference in New Issue