We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b59521a commit 8d3b877Copy full SHA for 8d3b877
1 file changed
src/main/kotlin/com/lambda/graphics/renderer/esp/ChunkedESP.kt
@@ -52,11 +52,11 @@ class ChunkedESP private constructor(
52
}
53
54
init {
55
- listen<WorldEvent.BlockUpdate.Client> { world.getWorldChunk(it.pos).renderer.notifyChunks() }
+ //listen<WorldEvent.BlockUpdate.Client> { rebuildQueue.add(rendererMap[ChunkPos.toLong(it.pos)] ?: return@listen) }
56
listen<WorldEvent.ChunkEvent.Load> { it.chunk.renderer.notifyChunks() }
57
listen<WorldEvent.ChunkEvent.Unload> { rendererMap.remove(it.chunk.pos.toLong())?.notifyChunks() }
58
59
- listenConcurrently<TickEvent.Pre> {
+ listenConcurrently<TickEvent.Post> {
60
if (++ticks % StyleEditor.updateFrequency == 0) {
61
val polls = minOf(StyleEditor.rebuildsPerTick, rebuildQueue.size)
62
0 commit comments