Posts by josiah42

    It looks like the new API breaks on the special case of Compressors placed next to an infinite water source producing snowballs. I get this error:



    The error originates from the first 'if' statement in this piece of code:


    Code
    private static ItemStack getOutputFor(ItemStack input, boolean adjustInput, List<Map.Entry<ItemStack, ItemStack> > recipeList) {
    		for (Map.Entry<ItemStack, ItemStack> entry: recipeList) {
    			if (entry.getKey().isItemEqual(input) && input.stackSize >= entry.getKey().stackSize) {
    				if (adjustInput) input.stackSize -= entry.getKey().stackSize;
    
    				return entry.getValue().copy();
    			}
    		}
    		return null;
    	}



    It may also be worth noting bcIntegration isn't loading, though I don't run BC.


    If I had to guess I'd say the entry in the input stack is null because the pump doesn't just produce water blocks.


    Right now my server is hard crashing because the Compressor keeps throwing this error before I can even get to it. I'll either need to fix the code myself or MCedit out the Compressor. A hotfix would be appreciated.