Fixed The Grand Tree quest black demon boss respawning

This commit is contained in:
Ceikry
2023-04-19 13:54:01 +00:00
committed by Ryan
parent 642d946c17
commit 1323684153
@@ -27,8 +27,10 @@ class BlackDemonNPC(id: Int = 0, location: Location? = null) : AbstractNPC(id,lo
override fun finalizeDeath(killer: Entity?) {
// In the event that this npcID is used somewhere else...
if(killer!!.asPlayer().location.regionId == 9882)
if(killer!!.asPlayer().location.regionId == 9882) {
setQuestStage(killer!!.asPlayer(), questName, 98)
this.isRespawn = false
}
super.finalizeDeath(killer)
}
}
}