Added Pulse check

This commit is contained in:
Tonius committed 2014-09-18 19:43:24 +02:00
1 parent 4f95e9395e
commit a4397948e6
1 file changed
+12 -8
@@ -1,5 +1,6 @@
package tconstruct.smeltery.nei;
import tconstruct.TConstruct;
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;
@@ -9,14 +10,17 @@ public class NEITinkerSmelteryConfig implements IConfigureNEI
@Override
public void loadConfig ()
{
API.registerRecipeHandler(new RecipeHandlerMelting());
API.registerUsageHandler(new RecipeHandlerMelting());
API.registerRecipeHandler(new RecipeHandlerAlloying());
API.registerUsageHandler(new RecipeHandlerAlloying());
API.registerRecipeHandler(new RecipeHandlerCastingTable());
API.registerUsageHandler(new RecipeHandlerCastingTable());
API.registerRecipeHandler(new RecipeHandlerCastingBasin());
API.registerUsageHandler(new RecipeHandlerCastingBasin());
if (TConstruct.pulsar.isPulseLoaded("Tinkers' Smeltery"))
{
API.registerRecipeHandler(new RecipeHandlerMelting());
API.registerUsageHandler(new RecipeHandlerMelting());
API.registerRecipeHandler(new RecipeHandlerAlloying());
API.registerUsageHandler(new RecipeHandlerAlloying());
API.registerRecipeHandler(new RecipeHandlerCastingTable());
API.registerUsageHandler(new RecipeHandlerCastingTable());
API.registerRecipeHandler(new RecipeHandlerCastingBasin());
API.registerUsageHandler(new RecipeHandlerCastingBasin());
}
}
@Override