mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Fixing yet another concurrency error.
This commit is contained in:
		@@ -319,7 +319,8 @@ public class HashChunkManager implements ChunkManager {
 | 
				
			|||||||
        closeAll();
 | 
					        closeAll();
 | 
				
			||||||
        String worldName = world.getName();
 | 
					        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(",");
 | 
					            String[] info = key.split(",");
 | 
				
			||||||
            if(worldName.equals(info[0])) {
 | 
					            if(worldName.equals(info[0])) {
 | 
				
			||||||
                int cx = 0;
 | 
					                int cx = 0;
 | 
				
			||||||
@@ -371,7 +372,8 @@ public class HashChunkManager implements ChunkManager {
 | 
				
			|||||||
        closeAll();
 | 
					        closeAll();
 | 
				
			||||||
        String worldName = world.getName();
 | 
					        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(",");
 | 
					            String[] info = key.split(",");
 | 
				
			||||||
            if(worldName.equals(info[0])) {
 | 
					            if(worldName.equals(info[0])) {
 | 
				
			||||||
                int cx = 0;
 | 
					                int cx = 0;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user