Skip to content

Commit

Permalink
Added Pulse check
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonius committed Sep 18, 2014
1 parent 4f95e93 commit a439794
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/main/java/tconstruct/smeltery/nei/NEITinkerSmelteryConfig.java
@@ -1,5 +1,6 @@
package tconstruct.smeltery.nei;

import tconstruct.TConstruct;
import codechicken.nei.api.API;
import codechicken.nei.api.IConfigureNEI;

Expand All @@ -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
Expand Down

0 comments on commit a439794

Please sign in to comment.