Getting NPE

Discussion in 'BungeeCord Plugin Development' started by ArtutoGamer, Jan 10, 2019 at 8:38 PM.

  1. foncused

    Moderator Patron

    From that line, is player.getServer() returning null? I am not sure you can get the server from the player in PostLoginEvent (the description in the Javadocs is Event called as soon as a connection has a ProxiedPlayer and is ready to be connected to a server).
  2. Ah, I see. How should I get the server the player joined then?
  3. Bump?

Share This Page