fix: Adds DupeExcludedProperty to Items (#1556)
This commit is contained in:
parent
85e23d8d83
commit
74f67487c4
2 changed files with 11 additions and 1 deletions
|
|
@ -3348,6 +3348,16 @@ public class Item : IHued, IComparable<Item>, ISpawnable, IObjectPropertyListEnt
|
|||
}
|
||||
}
|
||||
|
||||
private static readonly HashSet<string> _excludedProperties = new()
|
||||
{
|
||||
"Parent",
|
||||
"Next",
|
||||
"Previous",
|
||||
"OnLinkList"
|
||||
};
|
||||
|
||||
public virtual bool DupeExcludedProperty(string propertyName) => _excludedProperties.Contains(propertyName);
|
||||
|
||||
public virtual void OnAfterDuped(Item newItem)
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue