A couple crash fixes
This commit is contained in:
parent
a0622523d1
commit
bbef6aa2b9
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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) {}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue