From 3e8427c4c0a5cf2ba52d5c8aac6f947f1107126f Mon Sep 17 00:00:00 2001 From: Railz Date: Tue, 4 Jun 2019 22:25:34 +0200 Subject: [PATCH] Fixed Guid casting to String (dunno?) --- Database-Attribute_System/ClassAction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database-Attribute_System/ClassAction.cs b/Database-Attribute_System/ClassAction.cs index 693659d..353b84a 100644 --- a/Database-Attribute_System/ClassAction.cs +++ b/Database-Attribute_System/ClassAction.cs @@ -61,7 +61,7 @@ namespace eu.railduction.netcore.dll.Database_Attribute_System if (baseAttribute._attributeName.ToLower() == data_keySet.Key.ToLower()) { object value = data_keySet.Value; - if (baseAttribute.parentField.FieldType == typeof(Guid)) value = new Guid((string)value); // If its a guid, i need to convert + //if (baseAttribute.parentField.FieldType == typeof(Guid)) value = new Guid((string)value); // If its a guid, i need to convert baseAttribute.parentField.SetValue(classObject, value); break;