Steven M.
Steven M.
That's because you are using Mods, Shaders, XRay or something else with that profile. Create a new profile and select "Use latestest version". AMIDST can only find original Minecraft JAR's.
It is generated if a shop is removed by player (/shop remove) at the same time when **updateNearestShops()** is called async. The **next()** call of an iterator over all **shopLocations**...
BTW: You could also iterate over a copy of that collection but in this case it is possible that items / holograms of removed shops are created and never got...
Found another solution: When using a copy of that collection. you can check, if the original still contains an equal shop before re-showing holograms and items that are already removed...
But remember: creating a copy of that collection can also throw a CME. This can occure if a shop is removed concurrent to the **new ArrayList(...)** call. For this, you...
Should be fixed with #32