diff --git a/Patches/ClientChatSystemPatch.cs b/Patches/ClientChatSystemPatch.cs index a31ac10..7edd9ad 100644 --- a/Patches/ClientChatSystemPatch.cs +++ b/Patches/ClientChatSystemPatch.cs @@ -69,7 +69,7 @@ static void OnUpdatePrefix(ClientChatSystem __instance) } } - NativeArray entities = __instance.__query_172511197_1.ToEntityArray(Allocator.Temp); + NativeArray entities = __instance._ReceiveChatMessagesQuery.ToEntityArray(Allocator.Temp); try { foreach (Entity entity in entities)