From 247b475c01306aea1669c41eb4342a0a127a152a Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Tue, 27 Jun 2023 00:41:27 +0800 Subject: [PATCH] hot fix --- src/DataInterfaces.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataInterfaces.cs b/src/DataInterfaces.cs index 474bffe..f64125c 100644 --- a/src/DataInterfaces.cs +++ b/src/DataInterfaces.cs @@ -20,7 +20,7 @@ namespace DCFApixels.DragonECS isHasHandler = targetType.GetInterfaces().Contains(typeof(IEcsWorldComponent<>).MakeGenericType(targetType)); if (isHasHandler) { - instance = (IEcsWorldComponent)Activator.CreateInstance(typeof(ComponentResetHandler<>).MakeGenericType(targetType)); + instance = (IEcsWorldComponent)Activator.CreateInstance(typeof(WorldComponentHandler<>).MakeGenericType(targetType)); } else {