add rank edit on forced party leader

This commit is contained in:
nossr50 2020-12-08 14:32:45 -08:00
parent 17268ca4ad
commit 0bb65e66e8

View File

@ -47,7 +47,9 @@ public class PersistentPartyData {
if(partyLeaderRef == null) {
//The first player in a party is now the leader
partyLeaderRef = (PartyMember) getPartyMembers().unwrapSet().toArray()[0];
partyLeaderRef.setPartyMemberRank(PartyMemberRank.LEADER);
}
return partyLeaderRef;
}