mirror of
https://github.com/PikaMug/Quests.git
synced 2024-09-09 14:08:02 +02:00
Do not proceed on invalid entity type, fixes #1520
This commit is contained in:
parent
04621291de
commit
60290f0149
@ -2178,6 +2178,9 @@ public class Quester implements Comparable<Quester> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final int index = questData.mobsKilled.indexOf(e);
|
final int index = questData.mobsKilled.indexOf(e);
|
||||||
|
if (index == -1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
final int mobsKilled = questData.mobNumKilled.get(index);
|
final int mobsKilled = questData.mobNumKilled.get(index);
|
||||||
final int mobsToKill = currentStage.mobNumToKill.get(index);
|
final int mobsToKill = currentStage.mobNumToKill.get(index);
|
||||||
if (questData.locationsToKillWithin.isEmpty() == false) {
|
if (questData.locationsToKillWithin.isEmpty() == false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user