diff --git a/Extensions/OtherExtensions.cs b/Extensions/OtherExtensions.cs
index 6ca1458..05ae3a5 100644
--- a/Extensions/OtherExtensions.cs
+++ b/Extensions/OtherExtensions.cs
@@ -45,7 +45,7 @@ public static string AddSpacesToEnum(this Enum toText)
return newText.ToString();
}
-
+#if !NET10_0_OR_GREATER
///
/// Randomly shuffles the elements of an using the default random number generator.
///
@@ -93,7 +93,7 @@ private static IEnumerable ShuffleIterator(
buffer[j] = buffer[i];
}
}
-
+#endif
///
/// Serializes a collection of Lisbeth objects into a JSON string.
/// Configured to ignore null and default values and use string representations for enums.
diff --git a/Helpers/GeneralFunctions.cs b/Helpers/GeneralFunctions.cs
index 1e348e1..8ec8344 100644
--- a/Helpers/GeneralFunctions.cs
+++ b/Helpers/GeneralFunctions.cs
@@ -52,8 +52,8 @@ public static FrameCachedObject? QuestLayouts
{
if (_questLayouts == null)
{
- var field = typeof(QuestLogManager).GetFields(BindingFlags.NonPublic | BindingFlags.Static).FirstOrDefault(i => i.FieldType == typeof(FrameCachedObject));
- _questLayouts = field?.GetValue(null) as FrameCachedObject;
+ var @field = typeof(QuestLogManager).GetFields(BindingFlags.NonPublic | BindingFlags.Static).FirstOrDefault(i => i.FieldType == typeof(FrameCachedObject));
+ _questLayouts = @field?.GetValue(null) as FrameCachedObject;
}
return _questLayouts;