Solved Is ServerPreConnectEvent and ServerPostConnect broken?

BlackDiamond

New member
Jul 31, 2024
3
0
1
Hey there! I'm working on a plugin that makes use of the ServerPreConnectEvent (I also tried re-implimenting with ServerPostConnectEvent), and the .getPlayer() method is always returning null, it seems like this shouldn't really be possible, anyone have any ideas?
 

BlackDiamond

New member
Jul 31, 2024
3
0
1
I just looked at the Velocity source code, there is a precondition in the constructor of both classes that should prevent this, now I'm even more confused.