And a concurrentmodificationexception in the same code

This commit is contained in:
Christian 2012-09-22 14:02:49 -04:00
parent 0ac8d6ad3e
commit 0b68cf93ff

View file

@ -403,7 +403,7 @@ public class ForgeChunkManager
}
if (ticket.requestedChunks!=null)
{
for (ChunkCoordIntPair chunk : ticket.requestedChunks)
for (ChunkCoordIntPair chunk : ImmutableSet.copyOf(ticket.requestedChunks))
{
unforceChunk(ticket, chunk);
}