|
|
If your ModelEngine model vanishes on a server restart, or when you leave the area the mob is in, you need to make sure the Model is applied when the mob loads, not just when it spawns.
|
|
|
If your ModelEngine model vanishes on a server restart, or when you leave the area the mob is in, you need to make sure the Model has the `save` attribute set to true
|
|
|
|
|
|
Your current mob file may have a line like the following:
|
|
|
```yaml
|
... | ... | @@ -6,9 +6,8 @@ Skills: |
|
|
- model{m=Duck;n=name} @self ~onSpawn
|
|
|
```
|
|
|
|
|
|
You can solve the issue by copying your Model mechanic, and changing onSpawn to onLoad. You must keep both in the file, the outcome is the following:
|
|
|
While you can solve the issue by adding the following:
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- model{m=Duck;n=name} @self ~onSpawn
|
|
|
- model{m=Duck;n=name} @self ~onLoad
|
|
|
- model{m=Duck;n=name;save=true} @self ~onSpawn
|
|
|
``` |
|
|
\ No newline at end of file |