mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Handle possible nulls.
This commit is contained in:
@ -44,7 +44,7 @@ namespace osu.Game.Online.Chat
|
|||||||
|
|
||||||
public int CompareTo(Message other) => Id.CompareTo(other.Id);
|
public int CompareTo(Message other) => Id.CompareTo(other.Id);
|
||||||
|
|
||||||
public bool Equals(Message other) => Id == other.Id;
|
public bool Equals(Message other) => Id == other?.Id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum TargetType
|
public enum TargetType
|
||||||
|
Reference in New Issue
Block a user