mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
Another fix for the modifier localization hack. #4
This commit is contained in:
1 parent
13ce4034a1
commit
ed7e9dacb0
1 file changed
+1
-1
@@ -161,7 +161,7 @@ public final class ToolStationGuiHelper {
|
||||
// strip out the '(X of Y)' in some for the localization strings.. sigh
|
||||
int bracket = tipName.indexOf("(");
|
||||
if(bracket > 0)
|
||||
locString = locString.substring(0, bracket);
|
||||
locString = "modifier.toolstation." + tipName.substring(0, bracket);
|
||||
locString = EnumChatFormatting.getTextWithoutFormattingCodes(locString.replace(" ", ""));
|
||||
|
||||
if(StatCollector.canTranslate(locString)) {
|
||||
|
||||
Reference in new issue
Block a user