Swallow the NPE caused when other mods add recipes with null inputs
Also swallows the NPE caused by players adding a dead and outdated mod to their instance. Read as: Screw you BiblioWoods Forestry.
This commit is contained in:
parent
6e54f83ebd
commit
b38db9ae7a
2 changed files with 25 additions and 5 deletions
|
@ -3,6 +3,7 @@ package WayofTime.alchemicalWizardry.common.compress;
|
|||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.inventory.InventoryCrafting;
|
||||
|
@ -26,7 +27,7 @@ public class StorageBlockCraftingManager
|
|||
{
|
||||
this.recipes = new StorageBlockCraftingRecipeAssimilator().getPackingRecipes();
|
||||
|
||||
System.out.println("Total number of compression recipes: " + this.recipes.size());
|
||||
AlchemicalWizardry.logger.info("Total number of compression recipes: " + this.recipes.size());
|
||||
// List<IRecipe> tempRecipeList = new LinkedList();
|
||||
//
|
||||
// World world = DimensionManager.getWorld(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue