public NBTTagCompound readChunkNBT(World world, int x, int z, boolean readOnly) {
NBTTagCompound nbtTagCompound;
ChunkCoordIntPair chunkcoordintpair = new ChunkCoordIntPair(x, z);
synchronized (this.syncLockObject) {
AnvilChunkLoaderPending pendingchunktosave = pendingSaves.get(chunkcoordintpair);
long key = key(x, z);
if (pendingchunktosave == null) {
nbtTagCompound = (NBTTagCompound) inProgressSaves.getValueByKey(key);
if (nbtTagCompound == null) {