aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/rei/recipes/SBForgeRecipe.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-09 12:00:50 +0100
committerLinnea Gräf <nea@nea.moe>2024-02-09 12:00:50 +0100
commitefbef712130048e1bf39e66b15271bf663586eee (patch)
tree5260c953cdb3825128d43323a7de6557561cb7af /src/main/kotlin/moe/nea/firmament/rei/recipes/SBForgeRecipe.kt
parent0cb6e308acc313a22f9fd796cc47301272485120 (diff)
downloadfirmament-efbef712130048e1bf39e66b15271bf663586eee.tar.gz
firmament-efbef712130048e1bf39e66b15271bf663586eee.tar.bz2
firmament-efbef712130048e1bf39e66b15271bf663586eee.zip
Fix crash when rendering SkyBlock id in a string
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/rei/recipes/SBForgeRecipe.kt')
-rw-r--r--src/main/kotlin/moe/nea/firmament/rei/recipes/SBForgeRecipe.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/rei/recipes/SBForgeRecipe.kt b/src/main/kotlin/moe/nea/firmament/rei/recipes/SBForgeRecipe.kt
index 3960728..887b84e 100644
--- a/src/main/kotlin/moe/nea/firmament/rei/recipes/SBForgeRecipe.kt
+++ b/src/main/kotlin/moe/nea/firmament/rei/recipes/SBForgeRecipe.kt
@@ -43,7 +43,7 @@ class SBForgeRecipe(override val neuRecipe: NEUForgeRecipe) : SBRecipe() {
add(Widgets.createResultSlotBackground(Point(bounds.minX + 124, bounds.minY + 46)))
val arrow = Widgets.createArrow(Point(bounds.minX + 90, bounds.minY + 54 - 18 / 2))
add(arrow)
- add(Widgets.createTooltip(arrow.bounds, Text.translatable("firmament.recipe.forge.time", display.neuRecipe.duration.seconds)))
+ add(Widgets.createTooltip(arrow.bounds, Text.stringifiedTranslatable("firmament.recipe.forge.time", display.neuRecipe.duration.seconds)))
val ingredientsCenter = Point(bounds.minX + 49 - 8, bounds.minY + 54 - 8)
val count = display.neuRecipe.inputs.size
if (count == 1) {