ModernUO/Projects/Scripts/Engines/Harvest/Core/FurnitureAttribute.cs
2020-04-26 00:16:02 -07:00

10 lines
256 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;
}
}