Removes old comparable/comparers. (#31)

This commit is contained in:
Kamron Batman 2019-03-11 15:35:04 -07:00 • committed by GitHub
parent 513e54f70e
commit a45094f2dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 95 additions and 249 deletions

View file

@ -1,5 +1,5 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Server.Commands;
using Server.Network;
@ -542,13 +542,10 @@ namespace Server.Gumps
})
};
private class SkillNameComparer : IComparer
private class SkillNameComparer : IComparer<SkillName>
{
public int Compare(object x, object y)
public int Compare(SkillName a, SkillName b)
{
SkillName a = (SkillName)x;
SkillName b = (SkillName)y;
string aName = SkillInfo.Table[(int)a].Name;
string bName = SkillInfo.Table[(int)b].Name;