Ok, that works fine, but I have another problem, is there any way to get the displayName before updating it? NetworkPlayerInfo#getDisplayName returns null.
I'm trying to make a mod that changes your nick when you are playing on a server, i'm trying to change the name of the player in the player list (tab), I just want it to change it for you, and not the rest of the players. The mod will be only installed on the client.