From 48bf5735a28960da2c712abc7761f2d14b82242c Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Wed, 5 Oct 2022 16:55:51 -0700 Subject: [PATCH] format --- QSB/ItemSync/WorldObjects/Items/QSBDreamLanternItem.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/QSB/ItemSync/WorldObjects/Items/QSBDreamLanternItem.cs b/QSB/ItemSync/WorldObjects/Items/QSBDreamLanternItem.cs index b7ac4cac..2b8cd09a 100644 --- a/QSB/ItemSync/WorldObjects/Items/QSBDreamLanternItem.cs +++ b/QSB/ItemSync/WorldObjects/Items/QSBDreamLanternItem.cs @@ -5,7 +5,7 @@ using UnityEngine; namespace QSB.ItemSync.WorldObjects.Items; -public class QSBDreamLanternItem : QSBItem +public class QSBDreamLanternItem : QSBItem { private Material[] _materials; @@ -27,7 +27,7 @@ public class QSBDreamLanternItem : QSBItem // Fixes #502: Artifact is visible through the walls if (AttachedObject._lanternType != DreamLanternType.Nonfunctioning) { - foreach (Material m in _materials) + foreach (var m in _materials) { if (m.renderQueue >= 2000) { @@ -46,7 +46,7 @@ public class QSBDreamLanternItem : QSBItem if (AttachedObject._lanternType != DreamLanternType.Nonfunctioning) { - foreach (Material m in _materials) + foreach (var m in _materials) { if (m.renderQueue < 2000) {