Add check for completed explorer quest to not re-trigger
This commit is contained in:
@@ -103,6 +103,10 @@ public class MapScriptMethods extends AbstractPlayerInteraction {
|
|||||||
|
|
||||||
public void explorerQuest(short questid, String questName) {
|
public void explorerQuest(short questid, String questName) {
|
||||||
Quest quest = Quest.getInstance(questid);
|
Quest quest = Quest.getInstance(questid);
|
||||||
|
if (isQuestCompleted(questid)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!isQuestStarted(questid)) {
|
if (!isQuestStarted(questid)) {
|
||||||
if (!quest.forceStart(getPlayer(), 9000066)) {
|
if (!quest.forceStart(getPlayer(), 9000066)) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user