mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 04:09:43 +00:00
Finish ingame configs.
Thanks @bspkrs :) Oh also fix Crazy's spelling again :P
This commit is contained in:
1 parent
95693aaf8b
commit
b579bcdcd8
7 files changed
+244
-149
No files matched your search
@@ -3,6 +3,8 @@ package crazypants.util;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
public class Lang {
|
||||
|
||||
public static final String prefix = "enderio.";
|
||||
|
||||
public static String localize(String s) {
|
||||
return localize(s, true);
|
||||
@@ -10,7 +12,7 @@ public class Lang {
|
||||
|
||||
public static String localize(String s, boolean appendEIO) {
|
||||
if(appendEIO) {
|
||||
s = "enderio." + s;
|
||||
s = prefix + s;
|
||||
}
|
||||
return StatCollector.translateToLocal(s);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user