forked from 2009Scape/Server
Fixed an issue with random event NPCs not terminating properly sometimes
This commit is contained in:
parent
43943368c1
commit
95ed2ca1fe
1 changed files with 1 additions and 1 deletions
|
|
@ -73,9 +73,9 @@ abstract class RandomEventNPC(id: Int) : NPC(id) {
|
|||
}
|
||||
|
||||
override fun init() {
|
||||
initialized = true
|
||||
spawnLocation ?: terminate()
|
||||
location = spawnLocation
|
||||
initialized = true
|
||||
super.init()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue