Quest Location Party Complete

This commit is contained in:
Kam committed 2024-03-03 20:19:08 -05:00
1 parent 827f78bc97
commit bf6a77d183
7 files changed
+177 -39

No files matched your search

@@ -15,7 +15,7 @@ public class PartyOptions implements IPartyOptions {
public EnumPartyExchange rewardControl = EnumPartyExchange.Leader;
public EnumPartyExchange completeFor = EnumPartyExchange.Leader;
public EnumPartyObjectives objectiveRequirement = EnumPartyObjectives.All;
public EnumPartyObjectives objectiveRequirement = EnumPartyObjectives.Shared;
public int maxPartySize = ConfigMain.DefaultMaxPartySize;
public void readFromNBT(NBTTagCompound compound)
@@ -226,6 +226,13 @@ public class PlayerData implements IExtendedEntityProperties, IPlayerData {
}
}
public Party getPlayerParty() {
if (partyUUID != null) {
return PartyController.Instance().getParty(partyUUID);
}
return null;
}
public HashSet<UUID> getPartyInvites() {
return (HashSet<UUID>) this.partyInvites.clone();
}