From 0991b36d67c73076191f46975b622f777da574d8 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 8 Oct 2022 13:35:15 -0400 Subject: [PATCH] Used the wrong method --- NewHorizons/Builder/Props/DetailBuilder.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NewHorizons/Builder/Props/DetailBuilder.cs b/NewHorizons/Builder/Props/DetailBuilder.cs index 25d30a0d..03dc1d12 100644 --- a/NewHorizons/Builder/Props/DetailBuilder.cs +++ b/NewHorizons/Builder/Props/DetailBuilder.cs @@ -70,7 +70,8 @@ namespace NewHorizons.Builder.Props StreamingHandler.SetUpStreaming(prop, sector); - var isTorch = prop.GetComponentInChildren() != null; + // Could check this in the for loop but I'm not sure what order we need to know about this in + var isTorch = prop.GetComponent() != null; var isItem = false; foreach (var component in prop.GetComponentsInChildren(true))