GT5-Unofficial/src/main/java/gregtech/nei/NEI_GT_Config.java

28 lines
656 B
Java
Raw Normal View History

2015-06-23 22:29:05 +00:00
package gregtech.nei;
import codechicken.nei.api.IConfigureNEI;
import gregtech.api.util.GT_Recipe;
public class NEI_GT_Config
2015-10-22 02:06:25 +00:00
implements IConfigureNEI {
public static boolean sIsAdded = true;
public void loadConfig() {
sIsAdded = false;
for (GT_Recipe.GT_Recipe_Map tMap : GT_Recipe.GT_Recipe_Map.sMappings) {
if (tMap.mNEIAllowed) {
new GT_NEI_DefaultHandler(tMap);
}
}
sIsAdded = true;
}
public String getName() {
return "GregTech NEI Plugin";
}
public String getVersion() {
return "(5.03a)";
2015-06-23 22:29:05 +00:00
}
}