mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Don't try to do italics on messages with SE opcodes
This commit is contained in:
parent
100c355a07
commit
6b5f8e6bed
2 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ namespace Dalamud.Injector {
|
|||
Process.GetCurrentProcess().Kill();
|
||||
};
|
||||
|
||||
int pid = int.Parse(args[0]);
|
||||
var pid = int.Parse(args[0]);
|
||||
|
||||
Process process = null;
|
||||
|
||||
|
|
|
|||
|
|
@ -92,8 +92,8 @@ namespace Dalamud.Game {
|
|||
.GetResult());
|
||||
|
||||
|
||||
if (this.HandledChatTypeColors.ContainsKey(type) || type == XivChatType.Say || type == XivChatType.Shout ||
|
||||
type == XivChatType.Alliance || type == XivChatType.TellOutgoing || type == XivChatType.Yell) {
|
||||
if ((this.HandledChatTypeColors.ContainsKey(type) || type == XivChatType.Say || type == XivChatType.Shout ||
|
||||
type == XivChatType.Alliance || type == XivChatType.TellOutgoing || type == XivChatType.Yell) && !message.Contains((char)0x02)) {
|
||||
var italicsStart = message.IndexOf("*");
|
||||
var italicsEnd = message.IndexOf("*", italicsStart + 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue