Skip to content

Commit bc15100

Browse files
Inverted the impossible
1 parent ce0e97b commit bc15100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MixedRealityToolkit/_Core/Services/MixedRealityToolkit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ public bool RegisterService(Type type, IMixedRealityService service)
526526
}
527527
else
528528
{
529-
if (typeof(IMixedRealityExtensionService).IsAssignableFrom(type))
529+
if (!typeof(IMixedRealityExtensionService).IsAssignableFrom(type))
530530
{
531531
Debug.LogError($"Unable to register {service}. Concrete type does not implement the IMixedRealityExtensionService implementation.");
532532
return false;

0 commit comments

Comments
 (0)