feat: Adds IAosItem for items with AosAttributes (#1268)

This commit is contained in:
Kamron Batman 2022-11-23 10:49:30 -08:00 • committed by GitHub
parent 02cee4815e
commit df9a58dd49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 7 deletions

View file

@ -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;