Move to new block dataset

This commit is contained in:
Tom
2020-09-12 19:47:32 -07:00
parent 4532977c9c
commit b58d959b93
3 changed files with 6 additions and 110058 deletions

View File

@ -3,7 +3,8 @@ package world
import (
"bytes"
"fmt"
"github.com/Tnze/go-mc/data"
"github.com/Tnze/go-mc/data/block"
pk "github.com/Tnze/go-mc/net/packet"
)
@ -33,7 +34,7 @@ func perBits(BitsPerBlock byte) int {
case BitsPerBlock < 9:
return int(BitsPerBlock)
default:
return data.BitsPerBlock // DefaultBitsPerBlock
return block.BitsPerBlock
}
}