This PR modifies the order in which the SpellStart/SpellGo properties are assigned within the protobuf output. Before the change, the property was set, then parsing was done. When an exception occurs within the parsing code, the property is in a weird state - the spell start/go is not null, but the data inside is.
After the change, the value is assigned only after the packet is parsed.
This PR modifies the order in which the
SpellStart
/SpellGo
properties are assigned within the protobuf output. Before the change, the property was set, then parsing was done. When an exception occurs within the parsing code, the property is in a weird state - the spell start/go is not null, but the data inside is.After the change, the value is assigned only after the packet is parsed.