Skip to content

Commit

Permalink
Fix ConcurrentModificationException related to ping task on Folia
Browse files Browse the repository at this point in the history
Affects issues:
- Fixed #3844
  • Loading branch information
AuroraLS3 committed Nov 30, 2024
1 parent 83485a4 commit 55f7557
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public BukkitPingCounter(
this.dbSystem = dbSystem;
this.serverInfo = serverInfo;
startRecording = new ConcurrentHashMap<>();
playerHistory = new HashMap<>();
playerHistory = new ConcurrentHashMap<>();

Optional<PingMethod> loaded = loadPingMethod();
if (loaded.isPresent()) {
Expand Down

0 comments on commit 55f7557

Please sign in to comment.