mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 18:45:27 +01: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);
|
||||
if (index == -1) {
|
||||
return;
|
||||
}
|
||||
final int mobsKilled = questData.mobNumKilled.get(index);
|
||||
final int mobsToKill = currentStage.mobNumToKill.get(index);
|
||||
if (questData.locationsToKillWithin.isEmpty() == false) {
|
||||
|
Loading…
Reference in New Issue
Block a user