feat: Use Debug Command Handler for Dalamud Commands (#2018)

* feat: new command handler that works off a hook

* cr comment

* Use ClientStructs for sig
This commit is contained in:
KazWolfe 2024-08-28 13:23:39 -07:00 committed by GitHub
parent 9de58b0cb9
commit 0fb7585973
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 57 deletions

View file

@ -158,7 +158,7 @@ public static class Util
var asm = typeof(Util).Assembly;
var attrs = asm.GetCustomAttributes<AssemblyMetadataAttribute>();
return gitHashInternal = attrs.First(a => a.Key == "GitHash").Value;
return gitHashInternal = attrs.FirstOrDefault(a => a.Key == "GitHash")?.Value ?? "N/A";
}
/// <summary>