Skip to content

Commit 738adef

Browse files
committed
Switch PacketFlags
1 parent 4a5ecea commit 738adef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BPEssentials/ChatHandlers/LocalChat.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void OnEvent(ShPlayer player, string message)
6161
}
6262
if (Core.Instance.Settings.General.LocalChatInChat)
6363
{
64-
player.svPlayer.Send(SvSendType.LocalOthers, Channel.Unsequenced, ClPacket.GameMessage, ChatUtils.FormatMessage(player, message, "format.local"));
64+
player.svPlayer.Send(SvSendType.LocalOthers, Channel.Reliable, ClPacket.GameMessage, ChatUtils.FormatMessage(player, message, "format.local"));
6565
}
6666
}
6767
}

src/BPEssentials/ExtensionMethods/Player.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static void TS(this ShPlayer player, string node, params object[] formatt
4848
public static void SendChatMessage(this ShPlayer player, string message, bool useColors = false)
4949
{
5050
message = useColors ? message.ParseColorCodes() : message;
51-
player.svPlayer.Send(SvSendType.Self, Channel.Unsequenced, ClPacket.GameMessage, message);
51+
player.svPlayer.Send(SvSendType.Self, Channel.Reliable, ClPacket.GameMessage, message);
5252
}
5353
}
5454
}

0 commit comments

Comments
 (0)