This commit is contained in:
shoopea 2020-06-14 23:42:13 +02:00
parent bd7534398f
commit 992879034e

View File

@ -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:])