From 7ac0a6785d9f47f9289b2bf53c562b324a193bb8 Mon Sep 17 00:00:00 2001 From: Slendy Date: Tue, 28 Mar 2023 15:33:09 -0500 Subject: [PATCH] Fix level missing resource response --- ProjectLighthouse/Types/Serialization/SlotResourceResponse.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ProjectLighthouse/Types/Serialization/SlotResourceResponse.cs b/ProjectLighthouse/Types/Serialization/SlotResourceResponse.cs index 5fb7c041..7f9954db 100644 --- a/ProjectLighthouse/Types/Serialization/SlotResourceResponse.cs +++ b/ProjectLighthouse/Types/Serialization/SlotResourceResponse.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using System.Xml.Serialization; -using LBPUnion.ProjectLighthouse.Serialization; namespace LBPUnion.ProjectLighthouse.Types.Serialization; @@ -15,8 +14,7 @@ public struct SlotResourceResponse : ILbpSerializable [XmlAttribute("type")] public string Type { get; set; } = "user"; - [XmlArray("resources")] - [XmlArrayItem("resource")] + [XmlElement("resource")] public List Resources { get; set; } } \ No newline at end of file