A couple crash fixes

This commit is contained in:
Aidan C. Brady 2014-08-23 11:07:03 -04:00
parent a0622523d1
commit bbef6aa2b9
2 changed files with 4 additions and 2 deletions

View file

@ -314,7 +314,7 @@ public class ClientTickHandler
{
if(mc.thePlayer.isSneaking())
{
((ItemJetpack)jetpack.getItem()).setMode(stack, JetpackMode.DISABLED);
((ItemJetpack)jetpack.getItem()).setMode(jetpack, JetpackMode.DISABLED);
}
else {
((ItemJetpack)jetpack.getItem()).incrementMode(jetpack);

View file

@ -509,7 +509,9 @@ public final class OreDictManager
@Method(modid = "IC2API")
public static void addIC2BronzeRecipe()
{
Recipes.macerator.addRecipe(new RecipeInputOreDict("ingotBronze"), null, MekanismUtils.size(OreDictionary.getOres("dustBronze").get(0), 1));
try {
Recipes.macerator.addRecipe(new RecipeInputOreDict("ingotBronze"), null, MekanismUtils.size(OreDictionary.getOres("dustBronze").get(0), 1));
} catch(Exception e) {}
}