fix: Fixes stat mod having no owner (#1463)
This commit is contained in:
parent
35b7c35167
commit
cd5fddd8d1
1 changed files with 2 additions and 0 deletions
|
|
@ -8436,6 +8436,8 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
|
|||
return;
|
||||
}
|
||||
|
||||
mod.Owner = this;
|
||||
|
||||
_statMods ??= new List<StatMod>();
|
||||
_statMods.Add(mod);
|
||||
Delta(MobileDelta.Stat | GetStatDelta(mod.Type));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue