update for new protocol

This commit is contained in:
olebeck 2022-08-23 20:47:49 +02:00
parent 64396f7802
commit 8d4a7265f0
2 changed files with 2 additions and 2 deletions

2
go.mod
View File

@ -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

View File

@ -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},