- Check auto translation for commands and execute them instead of sending
- Plugin commands trigger the command helper window now - Fix auto translation with empty text appearing - Switch up all dalamud payload usage to ROSS if possible - Prepare 7.5 changes - Cleanup
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
public class ColorPayload
|
||||
{
|
||||
private const byte START_BYTE = 2;
|
||||
private const byte StartByte = 2;
|
||||
|
||||
public bool Enabled;
|
||||
public uint Color;
|
||||
@@ -11,7 +11,7 @@ public class ColorPayload
|
||||
public static ColorPayload? From(byte[] data)
|
||||
{
|
||||
using var stream = new MemoryStream(data);
|
||||
if (stream.ReadByte() != START_BYTE || stream.ReadByte() != 0x13)
|
||||
if (stream.ReadByte() != StartByte || stream.ReadByte() != 0x13)
|
||||
return null;
|
||||
|
||||
stream.ReadByte(); // skip the length byte;
|
||||
|
||||
Reference in New Issue
Block a user