Original reporter & ticket id
No response
Category
API
Bug description
ServerJoinEvent gets dispatched too early in the join process (on 1.21 during the client handshake), causing mc.currentServer to return null.
Steps to reproduce
eventHandler<ServerJoinEvent> { _ ->
println("currentServer: ${mc.currentServer}")
}
Anything else?
haven't tested on <1.21