# My pet leaves anchor mobs behind on server restart or chunk unloading

This issue is caused by MythicMobs and ModelEngine and arises from the `Despawn: false`option.

This feature from MythicMobs saves the pet entity in the chunk while unloading it. However, upon reloading the chunk, it does not indicate ModelEngine to put back the model, nor does it signal MCPets of the respawn of the pet. In the current state, it is not possible to handle that feature at all within MCPets framework.

Thus, the only solution is to turn off this feature in the options of the MythicMob associated to the pet. Find the MythicMob file of your pet (generally located at `./plugins/MythicMobs/Mobs` or if it comes from a pack `./plugins/MythicMobs/Packs/PackName/Mobs`) and turn off the despawn saver option by setting on `Despawn: true`as illustrated below:

```yaml
Nocsy_Drakonin-Forest-Adult:
  Type: HUSK
  AIGoalSelectors:
  - 0 clear
  - 1 meleeattack
  AITargetSelectors:
  - 0 clear
  Drops: []
  Equipment: []
  Faction: Drakonin
  Modules:
    ThreatTable: true
  Skills:
  - model{mid=nocsy_drakonin7;n=false;drive=true} @self ~onSpawn
  - skill{s=Nocsy_Drakonin_Spell} ~onSignal:SPELL
  - skill{s=Nocsy_Drakonin_Despawn} ~onDespawn
  - skill{s=Nocsy_Drakonin_Death} ~onDeath
  - skill{s=Nocsy_Drakonin_Sound_Death} @self ~onDeath
  - skill{s=Nocsy_Drakonin_Sound_Hurt} @self ~onDamaged
  - skill{s=Nocsy_Drakonin_Sound_Ambient} @self ~onSpawn
  - skill{s=Nocsy_Drakonin_CancelEvent;sync=true} @self ~onAttack
  Display: "§aDragon de la forêt"
  Health: 500
  Damage: 15
  Options:
    Despawn: true
    PreventOtherDrops: true
    Silent: true
    KnockbackResistance: 1
    PreventItemPickup: true
    PreventRandomEquipment: true
    MovementSpeed: 0.25
```
