From af8198ee107afb62e22c88a5b4f53cee4c68701a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Sat, 1 Jan 2022 18:24:19 +0100 Subject: [PATCH] fix: remove InnerSeparator from in subpackets --- Core/NosSmooth.Packets/Packets/Server/Entities/InPacket.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/NosSmooth.Packets/Packets/Server/Entities/InPacket.cs b/Core/NosSmooth.Packets/Packets/Server/Entities/InPacket.cs index e6c8906612a7b54e62a7a6c788ed66c45df0fdd0..a41c41a64c879f3fc974186349bd557a1852470f 100644 --- a/Core/NosSmooth.Packets/Packets/Server/Entities/InPacket.cs +++ b/Core/NosSmooth.Packets/Packets/Server/Entities/InPacket.cs @@ -44,10 +44,10 @@ public record InPacket short PositionY, [PacketConditionalIndex(7, "EntityType", true, EntityType.Object)] byte? Direction, - [PacketConditionalIndex(8, "EntityType", false, EntityType.Player, InnerSeparator = ' ')] + [PacketConditionalIndex(8, "EntityType", false, EntityType.Player)] InPlayerSubPacket? PlayerSubPacket, - [PacketConditionalIndex(9, "EntityType", false, EntityType.Object, InnerSeparator = ' ')] + [PacketConditionalIndex(9, "EntityType", false, EntityType.Object)] InItemSubPacket? ItemSubPacket, - [PacketConditionalIndex(10, "EntityType", true, EntityType.Player, EntityType.Object, InnerSeparator = ' ')] + [PacketConditionalIndex(10, "EntityType", true, EntityType.Player, EntityType.Object)] InNonPlayerSubPacket? NonPlayerSubPacket ) : IPacket; \ No newline at end of file