aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/notenoughupdates/features
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-05-03 01:39:27 +0200
committernea <nea@nea.moe>2023-05-03 01:39:27 +0200
commitf844feba1b874a946f020574fee06c5926d042f8 (patch)
tree8b0cd0303107ff5be1721f1760b82353126170ad /src/main/kotlin/moe/nea/notenoughupdates/features
parentf93df266c60de0567be1c963d0fbc0861bc4f197 (diff)
downloadfirmament-f844feba1b874a946f020574fee06c5926d042f8.tar.gz
firmament-f844feba1b874a946f020574fee06c5926d042f8.tar.bz2
firmament-f844feba1b874a946f020574fee06c5926d042f8.zip
Make proper use of matrixstack for block highlights
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/features')
-rw-r--r--src/main/kotlin/moe/nea/notenoughupdates/features/world/FairySouls.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/features/world/FairySouls.kt b/src/main/kotlin/moe/nea/notenoughupdates/features/world/FairySouls.kt
index b8052a6..d65af26 100644
--- a/src/main/kotlin/moe/nea/notenoughupdates/features/world/FairySouls.kt
+++ b/src/main/kotlin/moe/nea/notenoughupdates/features/world/FairySouls.kt
@@ -105,7 +105,7 @@ object FairySouls : NEUFeature,
}
WorldRenderLastEvent.subscribe {
if (!TConfig.displaySouls) return@subscribe
- renderBlocks(it.camera) {
+ renderBlocks(it.matrices, it.camera) {
color(1F, 1F, 0F, 0.8F)
currentMissingSouls.forEach {
block(it.blockPos)