We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29dc46f + f67d230 commit 9dc7827Copy full SHA for 9dc7827
1 file changed
TerrariaServerAPI/TerrariaApi.Server/Hooking/NetHooks.cs
@@ -51,7 +51,7 @@ static void OnBroadcastChatMessage(object? sender, HookEvents.Terraria.Chat.Chat
51
52
if (!cancel)
53
{
54
- args.color = new Microsoft.Xna.Framework.Color(r, g, b);
+ args.color = new Microsoft.Xna.Framework.Color((int)r, (int)g, (int)b);
55
}
56
57
args.ContinueExecution = !cancel;
0 commit comments