mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 13:46:46 +01:00
Merge pull request #452 from Glitchfinder/master
Fixing yet another concurrency error.
This commit is contained in:
commit
57ff84cd4d
@ -319,7 +319,8 @@ public class HashChunkManager implements ChunkManager {
|
||||
closeAll();
|
||||
String worldName = world.getName();
|
||||
|
||||
for(String key : store.keySet()) {
|
||||
List<String> keys = new ArrayList<String>(store.keySet());
|
||||
for(String key : keys) {
|
||||
String[] info = key.split(",");
|
||||
if(worldName.equals(info[0])) {
|
||||
int cx = 0;
|
||||
@ -371,7 +372,8 @@ public class HashChunkManager implements ChunkManager {
|
||||
closeAll();
|
||||
String worldName = world.getName();
|
||||
|
||||
for(String key : store.keySet()) {
|
||||
List<String> keys = new ArrayList<String>(store.keySet());
|
||||
for(String key : keys) {
|
||||
String[] info = key.split(",");
|
||||
if(worldName.equals(info[0])) {
|
||||
int cx = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user