Coding style
This commit is contained in:
@@ -158,7 +158,9 @@ public abstract class CraftingStep implements ICraftingStep {
|
||||
return tag;
|
||||
}
|
||||
|
||||
protected enum AvailableType { ITEM, FLUID }
|
||||
enum AvailableType {
|
||||
ITEM, FLUID
|
||||
}
|
||||
|
||||
protected AvailableType isItemAvailable(IItemStackList items, IFluidStackList fluids, ItemStack stack, ItemStack actualStack, int compare) {
|
||||
if (actualStack == null || actualStack.stackSize == 0 || !items.trackedRemove(actualStack, stack.stackSize, true)) {
|
||||
@@ -200,7 +202,7 @@ public abstract class CraftingStep implements ICraftingStep {
|
||||
}
|
||||
}
|
||||
|
||||
if (abort){
|
||||
if (abort) {
|
||||
// Abort task re-insert taken stacks and reset state
|
||||
toInsertItems.addAll(actualInputs.getStacks());
|
||||
startedProcessing = false;
|
||||
|
||||
@@ -158,7 +158,6 @@ public class ItemStackList implements IItemStackList {
|
||||
return stacks.toString();
|
||||
}
|
||||
|
||||
|
||||
public static ItemStack[] toCraftingGrid(IItemStackList list, List<ItemStack> grid, int compare) {
|
||||
ItemStack[] took = new ItemStack[9];
|
||||
for (int i = 0; i < grid.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user