From 28c6ffce3a174cf12d5b32511319bd5f7d5ab9e1 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Tue, 31 Jan 2023 13:43:35 +0100 Subject: [PATCH] fix(packets): put correct attribute to pst packet effects --- Packets/NosSmooth.Packets/NosSmooth.Packets.csproj | 4 ++-- Packets/NosSmooth.Packets/Server/Groups/PstPacket.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Packets/NosSmooth.Packets/NosSmooth.Packets.csproj b/Packets/NosSmooth.Packets/NosSmooth.Packets.csproj index f42ea9c..46452e5 100644 --- a/Packets/NosSmooth.Packets/NosSmooth.Packets.csproj +++ b/Packets/NosSmooth.Packets/NosSmooth.Packets.csproj @@ -7,9 +7,9 @@ Contains default NosTale packets. https://github.com/Rutherther/NosSmooth/ MIT - 3.5.0 + 3.5.1 net7.0;netstandard2.1 - Make su packet position nullable. + Put correct (list) attribute to Pst packet Effects. diff --git a/Packets/NosSmooth.Packets/Server/Groups/PstPacket.cs b/Packets/NosSmooth.Packets/Server/Groups/PstPacket.cs index 1a34eba..486dba9 100644 --- a/Packets/NosSmooth.Packets/Server/Groups/PstPacket.cs +++ b/Packets/NosSmooth.Packets/Server/Groups/PstPacket.cs @@ -53,6 +53,6 @@ public record PstPacket SexType? PlayerSex, [PacketIndex(10)] int? PlayerMorphVNum, - [PacketIndex(11, IsOptional = true)] - IReadOnlyList? Effects + [PacketListIndex(11, InnerSeparator = '.', ListSeparator = ' ')] + IReadOnlyList Effects ) : IPacket; \ No newline at end of file -- 2.49.0