Files
Firmament/src/compat/sodium/java/SodiumChunkReloader.kt
Linnea Gräf d2f240ff0c Refactor source layout
Introduce compat source sets and move all kotlin sources to the main directory

[no changelog]
2024-08-28 19:04:24 +02:00

11 lines
373 B
Kotlin

import me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer
import moe.nea.firmament.mixins.accessor.sodium.AccessorSodiumWorldRenderer
class SodiumChunkReloader : Runnable {
override fun run() {
(SodiumWorldRenderer.instanceNullable() as? AccessorSodiumWorldRenderer)
?.renderSectionManager_firmament
?.markGraphDirty()
}
}