Skip to content

Commit 8d3b877

Browse files
committed
removed neighbor notify
1 parent b59521a commit 8d3b877

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/lambda/graphics/renderer/esp/ChunkedESP.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)