pick 97420a31d The big reformat of 2020

This commit is contained in:
yueh
2020-06-16 21:41:28 +02:00
parent 5304b3febe
commit 5225ea426b
2252 changed files with 95466 additions and 118582 deletions
@@ -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);
}
}