summaryrefslogtreecommitdiff
path: root/npc/functions/mobhunter.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/mobhunter.txt')
-rw-r--r--npc/functions/mobhunter.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt
index 464a88ef9..e7bf03421 100644
--- a/npc/functions/mobhunter.txt
+++ b/npc/functions/mobhunter.txt
@@ -30,9 +30,7 @@ function script GHQ_GetQuestIDByMonsterID {
return 8;
break;
default:
- debugmes "Invalid mob ID: " + getarg(0);
- dispbottom l("ERROR, Please report: GHQ GQID: Invalid ID: @@", getarg(0));
- return 0;
+ return Exception("GHQ GQID: Invalid ID: "+getarg(0), RB_DEFAULT^RB_PLEASEREPORT|RB_ISFATAL);
break;
}
@@ -66,9 +64,7 @@ function script GHQ_GetMonsterIDByQuestID {
return MountainSnake;
break;
default:
- debugmes "Invalid quest ID: " + getarg(0);
- dispbottom l("ERROR, Please report: GHQ GMID: Invalid ID: @@", getarg(0));
- return 0;
+ return Exception("GHQ GMID: Invalid ID: "+getarg(0), RB_DEFAULT^RB_PLEASEREPORT|RB_ISFATAL);
break;
}