mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 01:32:19 +00:00
Shared Item Removal for Quest Item Shared
This commit is contained in:
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)){
|
||||
|
||||
Reference in new issue
Block a user