mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
Re-Enable localization checks for modifiers to not doubly localize
This commit is contained in:
1 parent
a05badab0c
commit
752930af7b
3 files changed
+6
-6
No files matched your search
@@ -159,8 +159,8 @@ public final class ToolStationGuiHelper {
|
||||
String tipName = tags.getString(tooltip + tipNum);
|
||||
String locString = "modifier.toolstation." + EnumChatFormatting.getTextWithoutFormattingCodes(tipName);
|
||||
locString = locString.replace(" ", "");
|
||||
//if(StatCollector.canTranslate(locString))
|
||||
tipName = tipName.replace(EnumChatFormatting.getTextWithoutFormattingCodes(tipName), StatCollector.translateToLocal(locString));
|
||||
if(StatCollector.canTranslate(locString))
|
||||
tipName = tipName.replace(EnumChatFormatting.getTextWithoutFormattingCodes(tipName), StatCollector.translateToLocal(locString));
|
||||
write("- " + tipName);
|
||||
tipNum++;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user