From 37c98c8d266f5afcd93079270fb91d57b849284a Mon Sep 17 00:00:00 2001 From: Tnze Date: Sat, 14 Dec 2019 22:37:03 +0800 Subject: [PATCH] decode Biomes data --- bot/ingame.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/ingame.go b/bot/ingame.go index bdf8ea6..a8742a4 100644 --- a/bot/ingame.go +++ b/bot/ingame.go @@ -465,7 +465,7 @@ type biomesData struct { } func (b *biomesData) Decode(r pk.DecodeReader) error { - if b.fullChunk == nil || *b.fullChunk { + if b.fullChunk == nil || !*b.fullChunk { return nil } for i := range b.data {