aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/features/world
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-06-11 22:35:03 +0200
committernea <nea@nea.moe>2023-06-11 22:35:09 +0200
commit74e79759bf8888ea08a6d244a50e531aaae20f27 (patch)
treef614e31c980ce61a6106768ed7ccfa1f42905c8c /src/main/kotlin/moe/nea/firmament/features/world
parentcfdf89aa1a64f8a32401201b867918aed64145df (diff)
downloadfirmament-74e79759bf8888ea08a6d244a50e531aaae20f27.tar.gz
firmament-74e79759bf8888ea08a6d244a50e531aaae20f27.tar.bz2
firmament-74e79759bf8888ea08a6d244a50e531aaae20f27.zip
Rename world renderer events
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features/world')
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt b/src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt
index 318365c..9a04b37 100644
--- a/src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt
+++ b/src/main/kotlin/moe/nea/firmament/features/world/FairySouls.kt
@@ -31,7 +31,7 @@ import moe.nea.firmament.util.SBData
import moe.nea.firmament.util.blockPos
import moe.nea.firmament.gui.config.ManagedConfig
import moe.nea.firmament.util.data.ProfileSpecificDataHolder
-import moe.nea.firmament.util.render.RenderBlockContext.Companion.renderBlocks
+import moe.nea.firmament.util.render.RenderInWorldContext.Companion.renderInWorld
import moe.nea.firmament.util.unformattedString
@@ -127,7 +127,7 @@ object FairySouls : FirmamentFeature {
}
WorldRenderLastEvent.subscribe {
if (!TConfig.displaySouls) return@subscribe
- renderBlocks(it.matrices, it.camera) {
+ renderInWorld(it.matrices, it.camera) {
color(1F, 1F, 0F, 0.8F)
currentMissingSouls.forEach {
block(it.blockPos)