From e7bb96edf426d29926432b6eb569bce2318ee90e Mon Sep 17 00:00:00 2001 From: OEOTYAN Date: Tue, 30 Jan 2024 15:56:17 +0800 Subject: [PATCH] fix: fix intellisense errors --- src/ll/test/TestDynamicCommand.cpp | 1 - src/mc/world/actor/InternalComponentRegistry.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ll/test/TestDynamicCommand.cpp b/src/ll/test/TestDynamicCommand.cpp index 6e0f812cb4..f31cb35339 100644 --- a/src/ll/test/TestDynamicCommand.cpp +++ b/src/ll/test/TestDynamicCommand.cpp @@ -412,7 +412,6 @@ static void setupTimingCommand(CommandRegistry& registry) { #include "mc/server/SimulatedPlayer.h" -#include "mc/world/actor/Actor.h" static void setupCreateSimulatePlayerCommand(CommandRegistry& registry) { auto command = DynamicCommand::createCommand( diff --git a/src/mc/world/actor/InternalComponentRegistry.h b/src/mc/world/actor/InternalComponentRegistry.h index ada1c97cc0..0457bab1f6 100644 --- a/src/mc/world/actor/InternalComponentRegistry.h +++ b/src/mc/world/actor/InternalComponentRegistry.h @@ -2,6 +2,8 @@ #include "mc/_HeaderOutputPredefine.h" +class Actor; + class InternalComponentRegistry { public: // InternalComponentRegistry inner types declare