Doodle is the point in the recipe
XuPuPG opened this issue ยท 0 comments
if you go to the recipe display of the machine (any) in nei in the box with the digits instead the point will be strange symbol.Must be
EUNeeded: 200.000
And it turns out
EUNeeded: 200(strange symbol)000
How can this be fixed?
Go to TechReborn/src/main/java/techreborn/compat/nei/recipes/GenericRecipeHander.java
And in the method drawBackground change next
[code]DecimalFormat formatter = (DecimalFormat) NumberFormat.getInstance(Locale.US);
DecimalFormatSymbols symbols = formatter.getDecimalFormatSymbols();
symbols.setGroupingSeparator('.');
formatter.setDecimalFormatSymbols(symbols);
GuiDraw.drawString("EU needed:" + formatter.format(new Integer(genericRecipe.the recipie.euPerTick() * genericRecipe.the recipie.tickTime()).longValue()), 16, 105, -1); [/code]