Solved Replacement of Connection.getAddress() ?

Discussion in 'BungeeCord Plugin Development' started by mkcoldwolf, Feb 3, 2020.

  1. i was using this to get the ip of player
    while the .getAddress() method is deprecated, what should i use instead?
    i have googled it but cant find what to use, any idea?

    i need to get the ip from connection not proxiedplayer sinces its on LoginEvent
  2. Connection#getSocketAddress
  3. upload_2020-2-3_21-10-5.png
    em it said NoSuchMethodError, idk why
  4. oh nvm, its my bungeecord on server side didn't update yet, fixed
    thx alots \:D
    #4 mkcoldwolf, Feb 3, 2020
    Last edited: Feb 3, 2020