Fixed stat overrite bug.
This commit is contained in:
parent
0a2e11e8bc
commit
e1818a9c32
@ -111,7 +111,7 @@ public class StatsManager extends MiniDbClientPlugin<PlayerStats>
|
||||
_statUploadQueue.get(player).put(statName, 0);
|
||||
}
|
||||
|
||||
_statUploadQueue.get(player).put(statName, value);
|
||||
_statUploadQueue.get(player).put(statName, _statUploadQueue.get(player).get(statName) + value);
|
||||
}
|
||||
|
||||
protected void saveStats()
|
||||
|
Loading…
Reference in New Issue
Block a user