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)) {
|
||||
|
||||
@@ -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