mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-04 07:28:24 +01:00
Better checking for Kill Mob stage, fixes #284
This commit is contained in:
parent
b367a54903
commit
487e6d790f
@ -949,7 +949,7 @@ public class Quester {
|
|||||||
|
|
||||||
public void killMob(Quest quest, Location killedLocation, EntityType e) {
|
public void killMob(Quest quest, Location killedLocation, EntityType e) {
|
||||||
QuestData questData = getQuestData(quest);
|
QuestData questData = getQuestData(quest);
|
||||||
if (questData.mobsKilled.isEmpty() == false && e != null) {
|
if (e == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (questData.mobsKilled.contains(e) == false) {
|
if (questData.mobsKilled.contains(e) == false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user