diff --git a/Server/Skills.cs b/Server/Skills.cs index d87deb941..38703f944 100644 --- a/Server/Skills.cs +++ b/Server/Skills.cs @@ -689,7 +689,7 @@ namespace Server } [PropertyObject] - public class Skills + public class Skills : IEnumerable { private Mobile m_Owner; private Skill[] m_Skills; @@ -1107,5 +1107,10 @@ namespace Server if ( ns != null ) ns.Send( new SkillChange( skill ) ); } + + public IEnumerator GetEnumerator() + { + return m_Skills.GetEnumerator(); + } } } \ No newline at end of file