From 211d082b7e5d53bfd3a1d9d48e2445eab9d1c4c3 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 6 Jan 2024 12:54:27 +0000 Subject: [PATCH] fix: fix "rolor" typo --- VpSharp/src/Internal/NativeAttributes/IntegerAttribute.cs | 2 +- VpSharp/src/VirtualParadiseClient.NativeEvents.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VpSharp/src/Internal/NativeAttributes/IntegerAttribute.cs b/VpSharp/src/Internal/NativeAttributes/IntegerAttribute.cs index d3eb40d..6ea435b 100644 --- a/VpSharp/src/Internal/NativeAttributes/IntegerAttribute.cs +++ b/VpSharp/src/Internal/NativeAttributes/IntegerAttribute.cs @@ -32,7 +32,7 @@ internal enum IntegerAttribute TerrainNodeRevision, ClickedSession, ChatType, - ChatRolorRed, + ChatColorRed, ChatColorGreen, ChatColorBlue, ChatEffects, diff --git a/VpSharp/src/VirtualParadiseClient.NativeEvents.cs b/VpSharp/src/VirtualParadiseClient.NativeEvents.cs index 49a00cf..a429aba 100644 --- a/VpSharp/src/VirtualParadiseClient.NativeEvents.cs +++ b/VpSharp/src/VirtualParadiseClient.NativeEvents.cs @@ -67,7 +67,7 @@ public sealed partial class VirtualParadiseClient if (type == 1) { - int r = vp_int(sender, IntegerAttribute.ChatRolorRed); + int r = vp_int(sender, IntegerAttribute.ChatColorRed); int g = vp_int(sender, IntegerAttribute.ChatColorGreen); int b = vp_int(sender, IntegerAttribute.ChatColorBlue); color = Color.FromArgb(r, g, b);