mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 22:26:46 +01:00
silly git stash requirements
This commit is contained in:
parent
d7099a69d8
commit
11c29c8299
@ -12,8 +12,6 @@ import java.util.List;
|
|||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
public class Party {
|
public class Party {
|
||||||
private static final String ONLINE_PLAYER_PREFIX = "⬤";
|
|
||||||
|
|
||||||
private final String partyName;
|
private final String partyName;
|
||||||
private String partyPassword;
|
private String partyPassword;
|
||||||
private boolean partyLock;
|
private boolean partyLock;
|
||||||
@ -23,30 +21,7 @@ public class Party {
|
|||||||
private final PartyExperienceManager partyExperienceManager;
|
private final PartyExperienceManager partyExperienceManager;
|
||||||
private final PartyAllianceManager partyAllianceManager;
|
private final PartyAllianceManager partyAllianceManager;
|
||||||
|
|
||||||
public static final String PARTY_LEADER_PREFIX = ChatColor.GOLD
|
public Party(Persistent)
|
||||||
+ "♕"
|
|
||||||
+ ChatColor.RESET;
|
|
||||||
|
|
||||||
public Party(String partyName, HashSet<PartyMember> partyMembers, int partyLevel) throws RuntimeException {
|
|
||||||
if(partyMembers.isEmpty()) {
|
|
||||||
throw new RuntimeException("No party members for the party named "+ partyName);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.partyName = partyName;
|
|
||||||
this.partyLock = true;
|
|
||||||
this.partyLevel = partyLevel;
|
|
||||||
this.partyMemberManager = new PartyMemberManager(partyMembers);
|
|
||||||
this.partyItemShareManager = new PartyItemShareManager();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Party(Player partyLeader, String partyName, String partyPassword) {
|
|
||||||
this.partyName = partyName;
|
|
||||||
this.partyPassword = partyPassword;
|
|
||||||
this.partyLock = true;
|
|
||||||
this.partyLevel = 0;
|
|
||||||
this.partyMemberManager = new PartyMemberManager(partyLeader);
|
|
||||||
this.partyItemShareManager = new PartyItemShareManager();
|
|
||||||
}
|
|
||||||
|
|
||||||
public HashSet<PartyMember> getPartyMembers() {
|
public HashSet<PartyMember> getPartyMembers() {
|
||||||
return partyMemberManager.getPartyMembers();
|
return partyMemberManager.getPartyMembers();
|
||||||
|
Loading…
Reference in New Issue
Block a user