diff options
Diffstat (limited to 'src/compat/sodium/java/SodiumChunkReloader.kt')
-rw-r--r-- | src/compat/sodium/java/SodiumChunkReloader.kt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compat/sodium/java/SodiumChunkReloader.kt b/src/compat/sodium/java/SodiumChunkReloader.kt new file mode 100644 index 0000000..9456861 --- /dev/null +++ b/src/compat/sodium/java/SodiumChunkReloader.kt @@ -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() + } +} |