Skip to content

Commit

Permalink
Return nullable on XivChatType.GetDetails (#2143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haselnussbomber authored Dec 17, 2024
1 parent 4dedaac commit 3ccd93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dalamud/Game/Text/XivChatTypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static class XivChatTypeExtensions
/// </summary>
/// <param name="chatType">The chat type.</param>
/// <returns>The info attribute.</returns>
public static XivChatTypeInfoAttribute GetDetails(this XivChatType chatType)
public static XivChatTypeInfoAttribute? GetDetails(this XivChatType chatType)
{
return chatType.GetAttribute<XivChatTypeInfoAttribute>();
}
Expand Down

0 comments on commit 3ccd93a

Please sign in to comment.