Added thousands separator to make EU in NEI more readable

This commit is contained in:
joflashstudios 2015-06-26 13:07:25 -04:00
parent 53b2e454ed
commit 1e4e42a202

View file

@ -77,7 +77,7 @@ public abstract class GenericRecipeHander extends TemplateRecipeHandler {
CachedGenericRecipe genericRecipe = (CachedGenericRecipe) recipe;
float scale = 0.9F;
GL11.glScalef(scale, scale, scale);
GuiDraw.drawString("EU needed: " + (genericRecipe.recipie.euPerTick() * genericRecipe.recipie.tickTime()), 16, 105, -1);
GuiDraw.drawString("EU needed: " + (String.format("%,d", genericRecipe.recipie.euPerTick() * genericRecipe.recipie.tickTime())), 16, 105, -1);
GuiDraw.drawString("Ticks to process: "+ genericRecipe.recipie.tickTime(), 14, 115, -1);
GuiDraw.drawString("Time to process: " + genericRecipe.recipie.tickTime() / 20 + " seconds", 14, 125, -1);
}