fix: Fixes dead plant serialization (#2128)
This commit is contained in:
parent
525112943c
commit
d10b32aed3
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ public partial class PlantItem : Item, ISecurable
|
||||||
private PlantSystem _plantSystem;
|
private PlantSystem _plantSystem;
|
||||||
|
|
||||||
[SerializableFieldSaveFlag(5)]
|
[SerializableFieldSaveFlag(5)]
|
||||||
private bool ShouldSerializePlantSystem() => _plantStatus != PlantStatus.DecorativePlant;
|
private bool ShouldSerializePlantSystem() => _plantStatus < PlantStatus.DecorativePlant;
|
||||||
|
|
||||||
// For clients older than 7.0.12.0
|
// For clients older than 7.0.12.0
|
||||||
private ObjectPropertyList _oldClientPropertyList;
|
private ObjectPropertyList _oldClientPropertyList;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue