1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-13 17:07:45 +00:00

Fix wrong binrw attribute in ServerChatMessage

This was supposed to be "pad_size_to" not "pad_after"!
This commit is contained in:
Joshua Goins 2025-07-12 14:55:42 -04:00
parent 3059cda4a4
commit f176e4fb8d

View file

@ -215,7 +215,7 @@ pub enum ServerZoneIpcData {
* ref: https://github.com/SapphireServer/Sapphire/blob/bf3368224a00c180cbb7ba413b52395eba58ec0b/src/common/Network/PacketDef/Zone/ServerZoneDef.h#L250 * ref: https://github.com/SapphireServer/Sapphire/blob/bf3368224a00c180cbb7ba413b52395eba58ec0b/src/common/Network/PacketDef/Zone/ServerZoneDef.h#L250
*/ */
param: u8, param: u8,
#[brw(pad_after = 774)] #[brw(pad_size_to = 774)]
#[br(count = 774)] #[br(count = 774)]
#[br(map = read_string)] #[br(map = read_string)]
#[bw(map = write_string)] #[bw(map = write_string)]