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];
|
int k = FaweCache.CACHE_J[ly][lz][lx];
|
||||||
if (array[k] != 0) {
|
if (array[k] != 0) {
|
||||||
synchronized (ForgeChunk_All.class) {
|
synchronized (ForgeChunk_All.class) {
|
||||||
tile.getValue().invalidate();
|
|
||||||
iterator.remove();
|
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];
|
int k = FaweCache.CACHE_J[ly][lz][lx];
|
||||||
if (array[k] != 0) {
|
if (array[k] != 0) {
|
||||||
synchronized (ForgeChunk_All.class) {
|
synchronized (ForgeChunk_All.class) {
|
||||||
tile.getValue().invalidate();
|
|
||||||
iterator.remove();
|
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];
|
int k = FaweCache.CACHE_J[ly][lz][lx];
|
||||||
if (array[k] != 0) {
|
if (array[k] != 0) {
|
||||||
synchronized (SpongeChunk_1_12.class) {
|
synchronized (SpongeChunk_1_12.class) {
|
||||||
tile.getValue().invalidate();
|
|
||||||
iterator.remove();
|
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];
|
int k = FaweCache.CACHE_J[ly][lz][lx];
|
||||||
if (array[k] != 0) {
|
if (array[k] != 0) {
|
||||||
synchronized (SpongeChunk_1_11.class) {
|
synchronized (SpongeChunk_1_11.class) {
|
||||||
tile.getValue().invalidate();
|
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
|
tile.getValue().invalidate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user