Refactor source layout
Introduce compat source sets and move all kotlin sources to the main directory [no changelog]
This commit is contained in:
10
src/compat/sodium/java/SodiumChunkReloader.kt
Normal file
10
src/compat/sodium/java/SodiumChunkReloader.kt
Normal file
@@ -0,0 +1,10 @@
|
||||
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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user