pick 97420a31d The big reformat of 2020
This commit is contained in:
@@ -18,21 +18,17 @@
|
||||
|
||||
package appeng.crafting;
|
||||
|
||||
|
||||
import appeng.api.storage.data.IAEItemStack;
|
||||
|
||||
public class CraftBranchFailure extends Exception {
|
||||
|
||||
public class CraftBranchFailure extends Exception
|
||||
{
|
||||
private static final long serialVersionUID = 654603652836724823L;
|
||||
|
||||
private static final long serialVersionUID = 654603652836724823L;
|
||||
private final IAEItemStack missing;
|
||||
|
||||
private final IAEItemStack missing;
|
||||
|
||||
public CraftBranchFailure( final IAEItemStack what, final long howMany )
|
||||
{
|
||||
super( "Failed: " + what.getItem().getRegistryName() + " x " + howMany );
|
||||
this.missing = what.copy();
|
||||
this.missing.setStackSize( howMany );
|
||||
}
|
||||
public CraftBranchFailure(final IAEItemStack what, final long howMany) {
|
||||
super("Failed: " + what.getItem().getRegistryName() + " x " + howMany);
|
||||
this.missing = what.copy();
|
||||
this.missing.setStackSize(howMany);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user