fix: Fixes dead plant serialization (#2128)

This commit is contained in:
Kamron Batman 2025-02-19 15:23:49 -08:00 committed by GitHub
parent 525112943c
commit d10b32aed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ public partial class PlantItem : Item, ISecurable
private PlantSystem _plantSystem;
[SerializableFieldSaveFlag(5)]
private bool ShouldSerializePlantSystem() => _plantStatus != PlantStatus.DecorativePlant;
private bool ShouldSerializePlantSystem() => _plantStatus < PlantStatus.DecorativePlant;
// For clients older than 7.0.12.0
private ObjectPropertyList _oldClientPropertyList;