jrbudda / Sentry

Citizens2 Town Sentry Character
12 stars 20 forks source link

Despawn problem #248

Open ghost opened 9 years ago

ghost commented 9 years ago

1) When I despawn an already spawned NPC (and dead), it disappears (Spawned= True; RespawnDelay=0). But not definitively, because on the next server start, it's automatically spawned. I open the saves.yml file and the entry 'spawned' is set to true. I guess the error is that the despawn command do not change this entry from true to false when the NPC is dead (if it is alive, do it).

2) In order to correct it, I manually edit spawned to false, and now this NPC is not loaded, never, this is OK. But now if I make a spawn and then a despawn again (after dead), the NPC is spawned in every server start as I said in 1).

How could I despawn a dead NPC?

ghost commented 9 years ago

Sorry It works well, it was a problem of Skript. Please delete.