Sandertv / gophertunnel

General purpose library for Minecraft Bedrock Edition software written in Go
MIT License
419 stars 95 forks source link

panic: runtime error: slice bounds out of range [1:0] #138

Closed UnknownOre closed 2 years ago

UnknownOre commented 2 years ago

panic: runtime error: slice bounds out of range [1:0]

goroutine 25 [running]: github.com/sandertv/gophertunnel/minecraft.(*Conn).ReadPacket(0xc000c61400) C:/Users/Ali/go/pkg/mod/github.com/sandertv/gophertunnel@v1.21.0/minecraft/conn.go:340 +0x47c github.com/paroxity/portal/session.handlePackets.func2() C:/Users/Ali/go/pkg/mod/github.com/paroxity/portal@v0.0.0-20220522105321-137f7d4e9e72/session/packet_handler.go:107 +0x52 created by github.com/paroxity/portal/session.handlePackets C:/Users/Ali/go/pkg/mod/github.com/paroxity/portal@v0.0.0-20220522105321-137f7d4e9e72/session/packet_handler.go:104 +0x97

UnknownOre commented 2 years ago

this was caused by portal somehow, the latest portal version fixes it