File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/com/lambda/graphics/renderer/esp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ class ChunkedESP private constructor(
5252 }
5353
5454 init {
55- listen<WorldEvent .BlockUpdate .Client > { world.getWorldChunk( it.pos).renderer.notifyChunks( ) }
55+ // listen<WorldEvent.BlockUpdate.Client> { rebuildQueue.add(rendererMap[ChunkPos.toLong( it.pos)] ?: return@listen ) }
5656 listen<WorldEvent .ChunkEvent .Load > { it.chunk.renderer.notifyChunks() }
5757 listen<WorldEvent .ChunkEvent .Unload > { rendererMap.remove(it.chunk.pos.toLong())?.notifyChunks() }
5858
59- listenConcurrently<TickEvent .Pre > {
59+ listenConcurrently<TickEvent .Post > {
6060 if (++ ticks % StyleEditor .updateFrequency == 0 ) {
6161 val polls = minOf(StyleEditor .rebuildsPerTick, rebuildQueue.size)
6262
You can’t perform that action at this time.
0 commit comments