mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-23 01:27:35 +01:00
Safety check for #257
This commit is contained in:
parent
b61874cd4e
commit
722c2388b5
@ -949,6 +949,9 @@ public class Quester {
|
||||
|
||||
public void killMob(Quest quest, Location killedLocation, EntityType e) {
|
||||
QuestData questData = getQuestData(quest);
|
||||
if (questData.mobsKilled.isEmpty() == false && e != null) {
|
||||
return;
|
||||
}
|
||||
if (questData.mobsKilled.contains(e) == false) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user