mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 03:59:37 +00:00
A couple crash fixes
This commit is contained in:
1 parent
a0622523d1
commit
bbef6aa2b9
2 files changed
+4
-2
No files matched your search
@@ -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) {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user