Validate the quest

This commit is contained in:
Kam committed 2024-03-04 05:29:48 -05:00
1 parent 46b9ec0c7e
commit b302f3fecb
2 files changed
+7 -9

No files matched your search

@@ -212,7 +212,7 @@ public class Party {
return this.partyMembers.keySet();
}
// To Be Called DURING Invite, Leave, Quest Switch, Leader Switch, etc.
// To Be Called during Set Quest or Quest Switch
public boolean validateQuest(int questID) {
IQuest quest = QuestController.Instance.get(questID);
if (quest == null) {
@@ -290,10 +290,6 @@ public class Party {
sendInfoMessage(leader, String.format("%s was not found", playerName));
}
}
if(allowQuest){
sendInfoMessage(leader, "\u00A7aQuest set to party!");
}
return allowQuest;
}