mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Merge branch 'master' into weaponry
This commit is contained in:
commit
46059d6913
24 files changed
+125
-70
No files matched your search
@@ -120,7 +120,15 @@ public class ToolStationGui extends GuiContainer implements INEIGuiHandler
|
||||
iconX = element.iconsX;
|
||||
iconY = element.iconsY;
|
||||
title = "\u00A7n" + element.title;
|
||||
body = element.body;
|
||||
body = StatCollector.translateToLocal(element.body);
|
||||
if(body != null) {
|
||||
int i;
|
||||
// for some really weird reason replaceAll doesn't find "\\n", but indexOf does. We have to replace manually.
|
||||
while((i = body.indexOf("\\n")) >= 0)
|
||||
{
|
||||
body = body.substring(0, i) + '\n' + body.substring(i+2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void setSlotType (int type)
|
||||
|
||||
Reference in new issue
Block a user