diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-05 22:17:02 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-05 22:17:02 +0200 |
commit | 3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7 (patch) | |
tree | b383c2c584a96b93c46d1dae3efcd3c6571e3d05 /src/main/kotlin/moe/nea/firmament/features/mining/PickaxeAbility.kt | |
parent | 5ee4b8d925eb12e068038a1fd2e1f35cdd8ef87e (diff) | |
download | firmament-3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7.tar.gz firmament-3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7.tar.bz2 firmament-3d792dbef7c7e0f186e29f2e3999f99c2c14f5d7.zip |
Port to 1.21
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features/mining/PickaxeAbility.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/features/mining/PickaxeAbility.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |