Localization of drying rack nei recipe handler (#156)

This commit is contained in:
Discreater authored and GitHub committed 2025-03-22 12:53:11 +01:00
1 parent f4fe24349e
commit 4fa45e3aee
2 files changed
+7 -1

No files matched your search

@@ -69,7 +69,12 @@ public class RecipeHandlerDryingRack extends RecipeHandlerBase {
public void drawExtras(int recipe) {
int time = ((CachedDryingRackRecipe) this.arecipes.get(recipe)).time;
int seconds = time / 20;
GuiDraw.drawStringC(time + " ticks (" + seconds + " secs)", 81, 40, 0x808080, false);
GuiDraw.drawStringC(
StatCollector.translateToLocalFormatted("tconstruct.nei.DryingRack", time, seconds),
81,
40,
0x808080,
false);
}
@Override