fix: only exclude xp gained analytics events if blocked constructs has entry (#5035)
This commit is contained in:
parent
2a1daca3ce
commit
bd58baee04
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ class AnalyticsDataService {
|
|||
final newConstructs = await getConstructUses(updateIds);
|
||||
|
||||
int points = 0;
|
||||
if (updateIds.isNotEmpty) {
|
||||
if (blocked.isEmpty || updateIds.isNotEmpty) {
|
||||
for (final id in updateIds) {
|
||||
final prevPoints = prevConstructs[id]?.points ?? 0;
|
||||
final newPoints = newConstructs[id]?.points ?? 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue