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 {