1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

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