aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/util/render/RenderCircleProgress.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-10 17:48:58 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-10 17:48:58 +0100
commit72fed8b08ef162542060ae5e4a659e77e9e1793a (patch)
tree1e17315281f6a49113b35630e6e8704d5b501b41 /src/main/kotlin/util/render/RenderCircleProgress.kt
parentd1241fb0d94aeaa14efe68f0b14bf862d98807bf (diff)
downloadFirmament-72fed8b08ef162542060ae5e4a659e77e9e1793a.tar.gz
Firmament-72fed8b08ef162542060ae5e4a659e77e9e1793a.tar.bz2
Firmament-72fed8b08ef162542060ae5e4a659e77e9e1793a.zip
fix: Pickaxe ability cooldown not rendering properly
Diffstat (limited to 'src/main/kotlin/util/render/RenderCircleProgress.kt')
-rw-r--r--src/main/kotlin/util/render/RenderCircleProgress.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/util/render/RenderCircleProgress.kt b/src/main/kotlin/util/render/RenderCircleProgress.kt
index 9cc383c..805633c 100644
--- a/src/main/kotlin/util/render/RenderCircleProgress.kt
+++ b/src/main/kotlin/util/render/RenderCircleProgress.kt
@@ -28,7 +28,7 @@ object RenderCircleProgress {
) {
RenderSystem.enableBlend()
drawContext.draw {
- val bufferBuilder = it.getBuffer(RenderLayer.getGuiTexturedOverlay(texture))
+ val bufferBuilder = it.getBuffer(GuiRenderLayers.GUI_TEXTURED_TRIS.apply(texture))
val matrix: Matrix4f = drawContext.matrices.peek().positionMatrix
val corners = listOf(