mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-28 08:06:46 +01:00
add rank edit on forced party leader
This commit is contained in:
parent
17268ca4ad
commit
0bb65e66e8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user