mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-24 19:46:31 -05:00
Fix incorrect g1 trade trainer char reference
This commit is contained in:
@@ -106,7 +106,7 @@ private static int LoadString(ReadOnlySpan<byte> data, Span<char> result, bool j
|
||||
{
|
||||
if (data[0] == G1TradeOTCode)
|
||||
{
|
||||
result[0] = G1Terminator;
|
||||
result[0] = G1TradeOT;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -166,7 +166,7 @@ private static int LoadString(ReadOnlySpan<byte> data, Span<char> result, bool j
|
||||
int count = i;
|
||||
if (count == destBuffer.Length)
|
||||
return count;
|
||||
destBuffer[value.Length] = G1TerminatorCode;
|
||||
destBuffer[count] = G1TerminatorCode;
|
||||
return count + 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ private static int LoadString(ReadOnlySpan<byte> data, Span<char> result)
|
||||
{
|
||||
if (data[0] == G1TradeOTCode)
|
||||
{
|
||||
result[0] = G1Terminator;
|
||||
result[0] = G1TradeOT;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user