diff --git a/ReplayFile/CommandChunk.cs b/ReplayFile/CommandChunk.cs index 2a6d0e5..b18336b 100644 --- a/ReplayFile/CommandChunk.cs +++ b/ReplayFile/CommandChunk.cs @@ -136,7 +136,7 @@ namespace AnotherReplayReader.ReplayFile public static string GetCommandName(byte commandId) { - return _commandNames.TryGetValue(commandId, out var storedName) ? storedName : $"(未知指令 0x{commandId:2X})"; + return _commandNames.TryGetValue(commandId, out var storedName) ? storedName : $"(未知指令 0x{commandId:X2})"; } public static void UnknownCommandParser(BinaryReader current, byte commandId)