Shared Item Removal for Quest Item Shared

This commit is contained in:
Kam committed 2024-03-18 04:23:36 -04:00
1 parent 2fd7594720
commit e6c9c20751
3 files changed
+59 -3

No files matched your search

@@ -626,11 +626,12 @@ public class NoppesUtilPlayer {
}
playerData.save();
if(meetsComplete){
Server.sendData((EntityPlayerMP)player, EnumPacketClient.QUEST_COMPLETION, data.quest.writeToNBT(new NBTTagCompound()));
}
Server.sendData((EntityPlayerMP)player, EnumPacketClient.QUEST_COMPLETION, data.quest.writeToNBT(new NBTTagCompound()));
}
if(quest.type == EnumQuestType.Item && partyOptions.objectiveRequirement == EnumPartyObjectives.Shared){
quest.questInterface.removePartyItems(party);
}
if (hasNextQuest) {
if(party.validateQuest(data.quest.getNextQuest().getId(), true)){