mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 11:49:23 +01:00
Fix dot dot dot
This commit is contained in:
parent
9b850658ff
commit
8896937cac
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ public class BookletInfoRecipeHandler extends TemplateRecipeHandler implements I
|
||||||
if(aText != null){
|
if(aText != null){
|
||||||
List text = Minecraft.getMinecraft().fontRenderer.listFormattedStringToWidth(aText, 165);
|
List text = Minecraft.getMinecraft().fontRenderer.listFormattedStringToWidth(aText, 165);
|
||||||
for(int i = 0; i < Math.min(maxLines, text.size()); i++){
|
for(int i = 0; i < Math.min(maxLines, text.size()); i++){
|
||||||
GuiDraw.drawString(text.get(i)+(i == maxLines-1 && text.size() >= maxLines ? "..." : ""), 0, 18+25+i*(Minecraft.getMinecraft().fontRenderer.FONT_HEIGHT+1), 0, false);
|
GuiDraw.drawString(text.get(i)+(i == maxLines-1 && text.size() > maxLines ? EnumChatFormatting.RESET+""+EnumChatFormatting.BLACK+"..." : ""), 0, 18+25+i*(Minecraft.getMinecraft().fontRenderer.FONT_HEIGHT+1), 0, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue