Open
Description
When joining a server with this code
func main() {
// Connect to the server.
conn, err := minecraft.Dialer{
TokenSource: tokenSource(),
}.Dial("raknet", "127.0.0.1:19132")
if err != nil {
panic(err)
}
// Make the client spawn in the world.
if err := conn.DoSpawn(); err != nil {
panic(err)
}
defer conn.Close()
I get the following error and the connection is closed.
Minecraft version: 1.16.220
Target server is running BDS 1.16.220