fix ComparableListWatcher not removing items in zero case

This commit is contained in:
Tyler 2022-09-05 13:11:36 -05:00
parent e7d29a2f7d
commit f0e52061e3
No known key found for this signature in database
GPG Key ID: 76974E65DA9B27D8
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace StardewModdingAPI.Framework.StateTracking.FieldWatchers
{
if (this.LastValues.Count > 0)
{
this.AddedImpl.AddRange(this.LastValues);
this.RemovedImpl.AddRange(this.LastValues);
this.LastValues.Clear();
}
return;