17 lines
411 B
Java
17 lines
411 B
Java
package appeng.crafting;
|
|
|
|
import appeng.api.storage.data.IAEItemStack;
|
|
|
|
public class CraftingCalculationFailure extends RuntimeException
|
|
{
|
|
|
|
private static final long serialVersionUID = 654603652836724823L;
|
|
|
|
IAEItemStack missing;
|
|
|
|
public CraftingCalculationFailure(IAEItemStack what, long howMany) {
|
|
super( "this should have been caught!" );
|
|
missing = what.copy();
|
|
missing.setStackSize( howMany );
|
|
}
|
|
}
|