Fix commenting
This commit is contained in:
@@ -2,7 +2,7 @@ package de.skate702.craftingkeys.util;
|
||||
|
||||
//NEW_1_9: net.minecraft.util.text.translation.I18n;
|
||||
//NEW:1.9.4: import static net.minecraft.client.resources.I18n.format;
|
||||
import static net.minecraft.client.resources.I18n.format;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
public class LanguageLocalizer {
|
||||
/**
|
||||
@@ -14,6 +14,6 @@ public class LanguageLocalizer {
|
||||
public static String localize(String unloc) {
|
||||
//NEW_1_9 return I18n.translateToLocal(unloc);
|
||||
//NEW_1_9.4: return I18n.format(unloc);
|
||||
return format(unloc);
|
||||
return StatCollector.translateToLocal(unloc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user