From d85ab0c2e24d30643533ce155ea5e7a1d4c181fb Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 20 Jan 2023 18:14:28 +0100 Subject: [PATCH] feat(packets): make su packet position nullable --- Packets/NosSmooth.Packets/NosSmooth.Packets.csproj | 4 ++-- Packets/NosSmooth.Packets/Server/Battle/SuPacket.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 f45cb74..f42ea9c 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.4.4 + 3.5.0 net7.0;netstandard2.1 - Update dependencies. + Make su packet position nullable. diff --git a/Packets/NosSmooth.Packets/Server/Battle/SuPacket.cs b/Packets/NosSmooth.Packets/Server/Battle/SuPacket.cs index 147d26c..428f0c5 100644 --- a/Packets/NosSmooth.Packets/Server/Battle/SuPacket.cs +++ b/Packets/NosSmooth.Packets/Server/Battle/SuPacket.cs @@ -50,9 +50,9 @@ public record SuPacket [PacketIndex(7)] long? SkillEffect, [PacketIndex(8)] - short PositionX, + short? PositionX, [PacketIndex(9)] - short PositionY, + short? PositionY, [PacketIndex(10)] bool TargetIsAlive, [PacketIndex(11)] -- 2.48.1