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).
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?