Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: add a link description for NIN.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 29, 2023
1 parent 616c0aa commit 0b3690d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion RotationSolver.Basic/Attributes/LinkDescriptionAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ private static TextureWrap TryLoadImage(byte[] bytes)
{
if (bytes == null)
return null;
return Service.Interface.UiBuilder.LoadImage(bytes);

try
{
return Service.Interface.UiBuilder.LoadImage(bytes);
}
catch
{
return null;
}
}
}
1 change: 1 addition & 0 deletions RotationSolver.Default/Melee/NIN_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ namespace RotationSolver.Default.Melee;

[RotationDesc(ActionID.Mug)]
[SourceCode("https://github.com/ArchiDog1998/RotationSolver/blob/main/RotationSolver.Default/Melee/NIN_Default.cs")]
[LinkDescription("https://docs.google.com/spreadsheets/u/0/d/1BZZrqWMRrugCeiBICEgjCz2vRNXt_lRTxPnSQr24Em0/htmlview#")]
public sealed class NIN_Default : NIN_Base
{
public override string GameVersion => "6.0";
Expand Down

0 comments on commit 0b3690d

Please sign in to comment.