Workaround GH-23
This commit is contained in:
@@ -44,7 +44,7 @@ public class EntityTrackerEntry {
|
|||||||
// Paper start
|
// Paper start
|
||||||
// Replace trackedPlayers Set with a Map. The value is true until the player receives
|
// Replace trackedPlayers Set with a Map. The value is true until the player receives
|
||||||
// their first update (which is forced to have absolute coordinates), false afterward.
|
// their first update (which is forced to have absolute coordinates), false afterward.
|
||||||
public java.util.Map<EntityPlayer, Boolean> trackedPlayerMap = new java.util.HashMap<EntityPlayer, Boolean>();
|
public java.util.Map<EntityPlayer, Boolean> trackedPlayerMap = new java.util.concurrent.ConcurrentHashMap<EntityPlayer, Boolean>(); // Akarin - make concurrent
|
||||||
public Set<EntityPlayer> trackedPlayers = trackedPlayerMap.keySet();
|
public Set<EntityPlayer> trackedPlayers = trackedPlayerMap.keySet();
|
||||||
// Paper end
|
// Paper end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user