mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 07:05:51 +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