Applied-Energistics-2-tiler.../crafting/CraftBranchFailure.java
2014-07-14 09:27:41 -05:00

18 lines
423 B
Java

package appeng.crafting;
import appeng.api.storage.data.IAEItemStack;
public class CraftBranchFailure extends Exception
{
private static final long serialVersionUID = 654603652836724823L;
IAEItemStack missing;
public CraftBranchFailure(IAEItemStack what, long howMany) {
super( "Failed: " + what.getItem().getUnlocalizedName() + " x " + howMany );
missing = what.copy();
missing.setStackSize( howMany );
}
}