mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 06:12:56 +00:00
Quest Location Party Complete
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user