Added update notices for supporting Minecaft Forge 1.9. Still buggy though.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package de.skate702.craftingkeys.util;
|
||||
|
||||
//NEW_1_9: net.minecraft.util.text.translation.I18n;
|
||||
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
public class LanguageLocalizer {
|
||||
@@ -10,6 +12,7 @@ public class LanguageLocalizer {
|
||||
* @return localized The localized String
|
||||
*/
|
||||
public static String localize(String unloc) {
|
||||
//NEW_1_9 return I18n.translateToLocal(unloc);
|
||||
return StatCollector.translateToLocal(unloc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user