From 11c29c829957dc296cbafbcede432d59680a76b0 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Thu, 10 Sep 2020 15:56:50 -0700 Subject: [PATCH] silly git stash requirements --- .../gmail/nossr50/datatypes/party/Party.java | 27 +------------------ 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/datatypes/party/Party.java b/src/main/java/com/gmail/nossr50/datatypes/party/Party.java index 9afe718a9..980ac2019 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/party/Party.java +++ b/src/main/java/com/gmail/nossr50/datatypes/party/Party.java @@ -12,8 +12,6 @@ import java.util.List; import java.util.UUID; public class Party { - private static final String ONLINE_PLAYER_PREFIX = "⬤"; - private final String partyName; private String partyPassword; private boolean partyLock; @@ -23,30 +21,7 @@ public class Party { private final PartyExperienceManager partyExperienceManager; private final PartyAllianceManager partyAllianceManager; - public static final String PARTY_LEADER_PREFIX = ChatColor.GOLD - + "♕" - + ChatColor.RESET; - - public Party(String partyName, HashSet 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 Party(Persistent) public HashSet getPartyMembers() { return partyMemberManager.getPartyMembers();