diff --git a/Exiled.API/Features/Toys/Primitive.cs b/Exiled.API/Features/Toys/Primitive.cs index be024200d3..b27db955da 100644 --- a/Exiled.API/Features/Toys/Primitive.cs +++ b/Exiled.API/Features/Toys/Primitive.cs @@ -107,7 +107,7 @@ public static Primitive Create(PrimitiveType primitiveType = PrimitiveType.Spher /// Whether or not the should be initially spawned. /// The color of the . /// The new . - public static Primitive Create(Vector3? position = null, Vector3? rotation = null, Vector3? scale = null, bool spawn = true, Color? color = null) + public static Primitive Create(Vector3? position /*= null*/, Vector3? rotation /*= null*/, Vector3? scale /*= null*/, bool spawn /*= true*/, Color? color /*= null*/) { Primitive primitive = new(Object.Instantiate(ToysHelper.PrimitiveBaseObject)); @@ -134,7 +134,7 @@ public static Primitive Create(Vector3? position = null, Vector3? rotation = nul /// Whether or not the should be initially spawned. /// The color of the . /// The new . - public static Primitive Create(PrimitiveType primitiveType = PrimitiveType.Sphere, Vector3? position = null, Vector3? rotation = null, Vector3? scale = null, bool spawn = true, Color? color = null) + public static Primitive Create(PrimitiveType primitiveType /*= PrimitiveType.Sphere*/, Vector3? position /*= null*/, Vector3? rotation /*= null*/, Vector3? scale /*= null*/, bool spawn /*= true*/, Color? color /*= null*/) { Primitive primitive = new(Object.Instantiate(ToysHelper.PrimitiveBaseObject)); diff --git a/Exiled.Events/Patches/Events/Player/Kicking.cs b/Exiled.Events/Patches/Events/Player/Kicking.cs index 95d1723150..070314e0ad 100644 --- a/Exiled.Events/Patches/Events/Player/Kicking.cs +++ b/Exiled.Events/Patches/Events/Player/Kicking.cs @@ -47,7 +47,7 @@ private static IEnumerable Transpiler(IEnumerable x.opcode == OpCodes.Ldstr).operand), @@ -71,7 +71,7 @@ private static IEnumerable Transpiler(IEnumerable