mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Another fix for the modifier localization hack. #2
This commit is contained in:
1 parent
4badd85093
commit
ced1951f24
1 file changed
+2
-1
@@ -165,8 +165,9 @@ public final class ToolStationGuiHelper {
|
||||
locString = locString.replace(" ", "");
|
||||
if(StatCollector.canTranslate(locString)) {
|
||||
tipName = tipName.replace(EnumChatFormatting.getTextWithoutFormattingCodes(tipName), StatCollector.translateToLocal(locString));
|
||||
// re-add the X/Y
|
||||
if(bracket > 0)
|
||||
tipName += " " + tipName.substring(bracket);
|
||||
tipName += " " + tags.getString(tooltip + tipNum).substring(bracket);
|
||||
}
|
||||
write("- " + tipName);
|
||||
tipNum++;
|
||||
|
||||
Reference in new issue
Block a user