Remove unused IMod specification from APIMod

This commit is contained in:
Dean Herbert 2021-09-10 10:59:30 +09:00
parent 9b34ffc302
commit ce6b022a90

View File

@ -16,7 +16,7 @@ using osu.Game.Utils;
namespace osu.Game.Online.API namespace osu.Game.Online.API
{ {
[MessagePackObject] [MessagePackObject]
public class APIMod : IMod, IEquatable<APIMod> public class APIMod
{ {
[JsonProperty("acronym")] [JsonProperty("acronym")]
[Key(0)] [Key(0)]
@ -67,8 +67,6 @@ namespace osu.Game.Online.API
return resultMod; return resultMod;
} }
public bool Equals(IMod other) => other is APIMod them && Equals(them);
public bool Equals(APIMod other) public bool Equals(APIMod other)
{ {
if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(null, other)) return false;