From f1246810c73f1fae8d985d0fce3e93e7eb91d336 Mon Sep 17 00:00:00 2001 From: Joshua Thome Date: Tue, 15 Apr 2025 22:57:12 -0500 Subject: [PATCH] Minor typo in error message --- NewHorizons/Builder/Props/ShapeBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewHorizons/Builder/Props/ShapeBuilder.cs b/NewHorizons/Builder/Props/ShapeBuilder.cs index 7e224e98..924ea135 100644 --- a/NewHorizons/Builder/Props/ShapeBuilder.cs +++ b/NewHorizons/Builder/Props/ShapeBuilder.cs @@ -60,7 +60,7 @@ namespace NewHorizons.Builder.Props { if (info.hasCollision) { - throw new NotSupportedException($"Shapes do not support collision; set {info.hasCollision} to false and use a supported collider type (sphere, box, or capsule)."); + throw new NotSupportedException($"Shapes do not support collision; set {nameof(info.hasCollision)} to false or use a supported collider type (sphere, box, or capsule)."); } if (info.useShape.HasValue && !info.useShape.Value) {