From 3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 5 Jul 2024 22:17:02 +0200 Subject: Port to 1.21 --- src/main/kotlin/moe/nea/firmament/features/mining/PickaxeAbility.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/firmament/features/mining/PickaxeAbility.kt') diff --git a/src/main/kotlin/moe/nea/firmament/features/mining/PickaxeAbility.kt b/src/main/kotlin/moe/nea/firmament/features/mining/PickaxeAbility.kt index 8e62172..33bf578 100644 --- a/src/main/kotlin/moe/nea/firmament/features/mining/PickaxeAbility.kt +++ b/src/main/kotlin/moe/nea/firmament/features/mining/PickaxeAbility.kt @@ -172,7 +172,7 @@ object PickaxeAbility : FirmamentFeature { event.context.matrices.translate(MC.window.scaledWidth / 2F, MC.window.scaledHeight / 2F, 0F) event.context.matrices.scale(TConfig.cooldownScale.toFloat(), TConfig.cooldownScale.toFloat(), 1F) RenderCircleProgress.renderCircle( - event.context, Identifier("firmament", "textures/gui/circle.png"), + event.context, Identifier.of("firmament", "textures/gui/circle.png"), getCooldownPercentage(ability.name, ability.cooldown).toFloat(), 0f, 1f, 0f, 1f ) -- cgit