Set UUID

Discussion in 'BungeeCord Plugin Help' started by Esquilo_Azul, May 3, 2015.

  1. Im trying to set the player UUID from my Database (used on a hibrid login system) but im getting "Can only set uuid while state is username" on this line:

    e.getPlayer().getPendingConnection().setUniqueId(Utils.getStoredUUID(p.getName()));

    Any idea what this is and how to solve this?
     
  2. To which event are you listening?
     
  3. Already solved the problem, it was the event :)