mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-23 07:41:19 +01:00
Fix ConcurrentModificationException related to ping task on Folia
Affects issues: - Fixed #3844
This commit is contained in:
parent
83485a4747
commit
55f7557149
@ -87,7 +87,7 @@ public class BukkitPingCounter extends TaskSystem.Task implements Listener {
|
|||||||
this.dbSystem = dbSystem;
|
this.dbSystem = dbSystem;
|
||||||
this.serverInfo = serverInfo;
|
this.serverInfo = serverInfo;
|
||||||
startRecording = new ConcurrentHashMap<>();
|
startRecording = new ConcurrentHashMap<>();
|
||||||
playerHistory = new HashMap<>();
|
playerHistory = new ConcurrentHashMap<>();
|
||||||
|
|
||||||
Optional<PingMethod> loaded = loadPingMethod();
|
Optional<PingMethod> loaded = loadPingMethod();
|
||||||
if (loaded.isPresent()) {
|
if (loaded.isPresent()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user