ModernUO/Projects/UOContent/Engines/Harvest/Core/FurnitureAttribute.cs
2020-08-27 18:30:38 -07:00

10 lines
258 B
C#

using System;
namespace Server
{
[AttributeUsage(AttributeTargets.Class)]
public class FurnitureAttribute : Attribute
{
public static bool Check(Item item) => item?.GetType().IsDefined(typeof(FurnitureAttribute), false) == true;
}
}