Finished party command, and sub commands

This commit is contained in:
2021-08-08 11:36:06 +02:00
parent 0932bf8d51
commit 2cb843b68c
18 changed files with 462 additions and 142 deletions
@@ -10,7 +10,7 @@ import java.util.UUID;
public class ChatUser {
private final UUID uuid; // player uuid
private final int partyId; // the party they are in
private int partyId; // the party they are in
private boolean toggledPartyChat; // should chat messages instantly go to party chat when added, idk if this should be saved
private String name; // the nickname, doesn't need to be saved with the chatuser object, could be saved but we can get it from the nicknamesview
private Component displayName; // the nickname, doesn't need to be saved with the chatuser object, could be saved but we can get it from the nicknamesview
@@ -57,6 +57,10 @@ public class ChatUser {
return partyId;
}
public void setPartyId(int partyId) {
this.partyId = partyId;
}
public boolean toggledPartyChat() {
return toggledPartyChat;
}