Another fix for the modifier localization hack. #4

This commit is contained in:
Bernhard Bonigl committed 2015-01-05 11:58:56 +01:00
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)) {