mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 13:45:36 +01:00
Fix for double chest delete exception
This commit is contained in:
parent
f0553f80ae
commit
8f42dbf9a7
@ -273,8 +273,8 @@ public class ForgeChunk_All extends CharFaweChunk<Chunk, ForgeQueue_All> {
|
||||
int k = FaweCache.CACHE_J[ly][lz][lx];
|
||||
if (array[k] != 0) {
|
||||
synchronized (ForgeChunk_All.class) {
|
||||
tile.getValue().invalidate();
|
||||
iterator.remove();
|
||||
tile.getValue().invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -273,8 +273,8 @@ public class ForgeChunk_All extends CharFaweChunk<Chunk, ForgeQueue_All> {
|
||||
int k = FaweCache.CACHE_J[ly][lz][lx];
|
||||
if (array[k] != 0) {
|
||||
synchronized (ForgeChunk_All.class) {
|
||||
tile.getValue().invalidate();
|
||||
iterator.remove();
|
||||
tile.getValue().invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -273,8 +273,8 @@ public class SpongeChunk_1_12 extends CharFaweChunk<Chunk, SpongeQueue_1_12> {
|
||||
int k = FaweCache.CACHE_J[ly][lz][lx];
|
||||
if (array[k] != 0) {
|
||||
synchronized (SpongeChunk_1_12.class) {
|
||||
tile.getValue().invalidate();
|
||||
iterator.remove();
|
||||
tile.getValue().invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -273,8 +273,8 @@ public class SpongeChunk_1_11 extends CharFaweChunk<Chunk, SpongeQueue_1_11> {
|
||||
int k = FaweCache.CACHE_J[ly][lz][lx];
|
||||
if (array[k] != 0) {
|
||||
synchronized (SpongeChunk_1_11.class) {
|
||||
tile.getValue().invalidate();
|
||||
iterator.remove();
|
||||
tile.getValue().invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user