Merge pull request #692 from mikeprimm/doublechest_fix
Fix for double chest delete exception
This commit is contained in:
commit
a42eb98117
@ -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