mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-12-23 01:21:47 +00:00
Fix ConcurrentModificationException
This commit is contained in:
parent
1e02539aab
commit
11c6af099b
@ -19,7 +19,7 @@ public class ShopUtils {
|
||||
|
||||
// concurrent since it is updated in async task
|
||||
private final Map<UUID, Location> playerLocation = new ConcurrentHashMap<>();
|
||||
private final Map<Location, Shop> shopLocation = new HashMap<>();
|
||||
private final Map<Location, Shop> shopLocation = new ConcurrentHashMap<>();
|
||||
private final Collection<Shop> shopLocationValues = Collections.unmodifiableCollection(shopLocation.values());
|
||||
private final ShopChest plugin;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user