don't apply changes when no changes

This commit is contained in:
2024-07-17 19:37:36 +02:00
parent 8273c68318
commit 675225658c

View File

@@ -28,6 +28,8 @@ public class NameplateElementChange(NameplateElements element, INamePlateUpdateH
}
public void ApplyChanges()
{
if (Changes.Any())
{
StringUpdateFactory.ApplyStringChanges(new()
{
@@ -42,3 +44,4 @@ public class NameplateElementChange(NameplateElements element, INamePlateUpdateH
});
}
}
}