From 992879034e586711aacc98fce5bb24933e3f56a6 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 14 Jun 2020 23:42:13 +0200 Subject: [PATCH] test --- packet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packet.go b/packet.go index 6d9ac36..776c38e 100644 --- a/packet.go +++ b/packet.go @@ -108,7 +108,7 @@ func (p *PacketAdminServerWelcome) Read(b []byte) { bs := make([]byte, 13) _, _ = r.Read(bs) p.MapSeed = binary.LittleEndian.Uint32(bs[0:]) - p.MapLandscape = uint8(bs[4:4]) + p.MapLandscape = uint8(bs[4:5]) p.MapStartDate = binary.LittleEndian.Uint32(bs[5:]) p.MapX = binary.LittleEndian.Uint16(bs[9:]) p.MapY = binary.LittleEndian.Uint16(bs[11:])