From 2d0daa5112840f38df3533e14dff441d02ea68fb Mon Sep 17 00:00:00 2001 From: Alexander Raszka Date: Thu, 7 Dec 2023 20:14:15 +0100 Subject: [PATCH] Remove commented out code --- src/ManiaTemplates/Lib/MtTransformer.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/ManiaTemplates/Lib/MtTransformer.cs b/src/ManiaTemplates/Lib/MtTransformer.cs index bc87db2..1268d4b 100644 --- a/src/ManiaTemplates/Lib/MtTransformer.cs +++ b/src/ManiaTemplates/Lib/MtTransformer.cs @@ -402,17 +402,6 @@ private string ProcessComponentNode( IReadOnlyDictionary slotContents ) { - // foreach (var slotContentKey in slotContents.Keys) - // { - // //Prevent filling a slot that does not exist. - // if (!component.Slots.Contains(slotContentKey)) - // { - // var availableSlots = string.Join(", ", component.Slots); - // throw new InvalidSlotException( - // $"A slot with name '{slotContentKey}' couldn't be found in the component, available slots: {availableSlots}."); - // } - // } - foreach (var slotName in component.Slots) { var slotContent = "";