mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 12:39:05 +00:00
First Working Version of Party Kill Quest Completion
This commit is contained in:
1 parent
607b3f54d8
commit
2328b0dadf
16 files changed
+508
-104
No files matched your search
@@ -137,6 +137,15 @@ public class Quest implements ICompatibilty, IQuest {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean instantPartyComplete(Party party) {
|
||||
if(completion == EnumQuestCompletion.Instant && NoppesUtilPlayer.questPartyCompletion(party)){
|
||||
// Server.sendData((EntityPlayerMP)player, EnumPacketClient.QUEST_COMPLETION, data.quest.writeToNBT(new NBTTagCompound()));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public Quest copy(){
|
||||
Quest quest = new Quest();
|
||||
quest.readNBT(this.writeToNBT(new NBTTagCompound()));
|
||||
|
||||
Reference in new issue
Block a user