Added update notices for supporting Minecaft Forge 1.9. Still buggy though.

This commit is contained in:
0xSeb
2016-04-04 18:33:57 +02:00
parent 582dde9096
commit 6d30bef540
12 changed files with 29 additions and 10 deletions
@@ -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);
}
}