Skip to content

Commit 4b907d1

Browse files
committed
Minor clean
1 parent caa1ee8 commit 4b907d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SysBot.Pokemon/Helpers/RaidMemoryManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public async Task<bool> SetIsActiveFlag(int index, bool isActive, CancellationTo
185185
{
186186
var ptr = DeterminePointer(index);
187187
ptr[3] += 0x18;
188-
byte[] flagByte = new byte[] { (byte)(isActive ? 1 : 0) };
188+
byte[] flagByte = [(byte)(isActive ? 1 : 0)];
189189
await _connection.PointerPoke(flagByte, ptr, token).ConfigureAwait(false);
190190

191191
byte[] verification = await _connection.PointerPeek(1, ptr, token).ConfigureAwait(false);

0 commit comments

Comments
 (0)