fix: Fixes infinite loop in PlantItem GetProperties (#1329)

This commit is contained in:
Kamron Batman 2023-02-04 09:11:33 -08:00 committed by GitHub
parent a0d5f132b4
commit 0b4c73a8dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -369,7 +369,7 @@ namespace Server.Engines.Plants
if (m_PlantStatus < PlantStatus.Seed)
{
// Clients above 7.0.12.0 use the regular PropertyList
if (list != OldClientPropertyList)
if (list != _oldClientPropertyList)
{
// a ~1_val~ of ~2_val~ dirt
list.Add(1060830, $"{container:#}\t{dirt:#}");