Merge pull request #3996 from Yukiiro-Nite/close-files-after-world-unload

Close all the files after unload instead of before
This commit is contained in:
Robert A. C 2019-07-22 20:08:51 -07:00 committed by GitHub
commit 5cc473fd96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,7 +242,6 @@ public class HashChunkManager implements ChunkManager {
return;
}
closeAll();
String worldName = world.getName();
List<String> keys = new ArrayList<String>(store.keySet());
@ -257,6 +256,7 @@ public class HashChunkManager implements ChunkManager {
}
}
}
closeAll();
}
@Override