274275276277278279280281282283284
worldEntity.send(new OnChunkLoaded(readyChunkInfo.getPos())); for (ChunkRelevanceRegion region : regions.values()) { region.chunkReady(chunk); } } finally { chunk.unlock(); } } } @Override
386387388389390391392393394395396
iterator.remove(); if (++unloaded >= UNLOAD_PER_FRAME) { break; } } finally { chunk.unlock(); } } } PerformanceMonitor.endActivity(); }