decode Biomes data

This commit is contained in:
Tnze
2019-12-14 22:37:03 +08:00
parent 4384646214
commit 37c98c8d26

View File

@ -465,7 +465,7 @@ type biomesData struct {
} }
func (b *biomesData) Decode(r pk.DecodeReader) error { func (b *biomesData) Decode(r pk.DecodeReader) error {
if b.fullChunk == nil || *b.fullChunk { if b.fullChunk == nil || !*b.fullChunk {
return nil return nil
} }
for i := range b.data { for i := range b.data {