From 054beb700b195463aa85d140c633e1aec2e89611 Mon Sep 17 00:00:00 2001 From: Intelli Date: Thu, 13 Jul 2023 13:49:13 -0600 Subject: [PATCH] Fixed ConcurrentModificationException in ProjectileLaunchEvent --- src/main/java/net/coreprotect/config/ConfigHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/coreprotect/config/ConfigHandler.java b/src/main/java/net/coreprotect/config/ConfigHandler.java index 4d1f7a7..58e58f7 100644 --- a/src/main/java/net/coreprotect/config/ConfigHandler.java +++ b/src/main/java/net/coreprotect/config/ConfigHandler.java @@ -119,7 +119,7 @@ public class ConfigHandler extends Queue { public static Map playerIdCacheReversed = syncMap(); public static Map> lastRollback = syncMap(); public static Map activeRollbacks = syncMap(); - public static Map entityBlockMapper = syncMap(); + public static Map entityBlockMapper = new ConcurrentHashMap<>(); public static ConcurrentHashMap populatedChunks = new ConcurrentHashMap<>(); public static ConcurrentHashMap language = new ConcurrentHashMap<>(); public static List databaseTables = new ArrayList<>();