feat: Adds IAosItem for items with AosAttributes (#1268)
This commit is contained in:
parent
02cee4815e
commit
df9a58dd49
8 changed files with 13 additions and 7 deletions
|
|
@ -24,7 +24,8 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[SerializationGenerator(7, false)]
|
||||
public abstract partial class BaseClothing : Item, IDyable, IScissorable, IFactionItem, ICraftable, IWearableDurability
|
||||
public abstract partial class BaseClothing
|
||||
: Item, IDyable, IScissorable, IFactionItem, ICraftable, IWearableDurability, IAosItem
|
||||
{
|
||||
[SerializableFieldSaveFlag(0)]
|
||||
private bool ShouldSerializeResource() => _resource != DefaultResource;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue