mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-26 15:03:10 +00:00
Moved LangProxy to CCL
This commit is contained in:
1 parent
d7753d2e78
commit
ed612ae8f3
3 files changed
+2
-20
No files matched your search
@@ -1,5 +1,5 @@
|
||||
mc_version=1.7.10
|
||||
forge_version=10.13.0.1151
|
||||
ccl_version=1.1.1.96
|
||||
ccl_version=1.1.1.98
|
||||
ccc_version=1.0.3.+
|
||||
mod_version=1.0.3
|
||||
@@ -1,19 +0,0 @@
|
||||
package codechicken.nei;
|
||||
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
public class LangProxy
|
||||
{
|
||||
public final String namespace;
|
||||
|
||||
public LangProxy(String namespace) {
|
||||
this.namespace = namespace+".";
|
||||
}
|
||||
|
||||
public String translate(String key) {
|
||||
return StatCollector.translateToLocal(namespace+key);
|
||||
}
|
||||
public String format(String key, Object... params) {
|
||||
return StatCollector.translateToLocalFormatted(namespace+key, params);
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@ package codechicken.nei;
|
||||
|
||||
import codechicken.lib.inventory.InventoryRange;
|
||||
import codechicken.lib.inventory.InventoryUtils;
|
||||
import codechicken.lib.util.LangProxy;
|
||||
import codechicken.nei.api.GuiInfo;
|
||||
import codechicken.nei.api.IInfiniteItemHandler;
|
||||
import codechicken.nei.api.INEIGuiHandler;
|
||||
|
||||
Reference in new issue
Block a user