Well.. idk maybe try to replace this line
Code:
properties.put(target.getRights().ordinal());
with this line
Code:
properties.put(loyaltyRank);
And if that doesn't work maybe try to add the new line under and not replace it. And ofcourse don't forget to add the
Code:
public int loyaltyRank;
And aswell save it in the player files or something so if it does work you'll acutally see something.
Edit: I really think this should work because i checked it in my delta client and server and it works there, only thing is that i dont have the player rights line in that 'updateAppearance' method, I have it in the 'appendPlayerChatText' which is equal to your 'updateChat' method in client.java. The weird thing is that this 'appendPlayerChatText' method in your client.java already has the line:
Code:
builder.put(target.getRights().ordinal());
So I have no idea why put it there and also in the update appearance.
Anyways just check it out and tell me and ofcourse don't forget to compile because we don't want that to be our mistake.