mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-18 19:29:08 +00:00
fix when open the auto filler, always to try update pattern
add using exists item to fill pattern slot
This commit is contained in:
1 parent
7ecd7d246f
commit
a8155c8b17
5 files changed
+51
-4
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ public class FluidPatternTerminalRecipeTransferHandler implements IOverlayHandle
|
||||
List<OrderStack<?>> in = FluidRecipe.getPackageInputs(recipe, recipeIndex, priority);
|
||||
List<OrderStack<?>> out = FluidRecipe.getPackageOutputs(recipe, recipeIndex, !notUseOther(recipe));
|
||||
boolean craft = shouldCraft(recipe);
|
||||
FluidCraft.proxy.netHandler.sendToServer(new CPacketTransferRecipe(in, out, craft));
|
||||
FluidCraft.proxy.netHandler.sendToServer(new CPacketTransferRecipe(in, out, craft, shift));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import com.glodblock.github.util.Util;
|
||||
|
||||
public class OrderStack<T> {
|
||||
|
||||
private final T RealStack;
|
||||
private T RealStack;
|
||||
private final int index;
|
||||
|
||||
public static final int ITEM = 1;
|
||||
@@ -28,6 +28,10 @@ public class OrderStack<T> {
|
||||
this.index = order;
|
||||
}
|
||||
|
||||
public void putStack(T stack) {
|
||||
this.RealStack = stack;
|
||||
}
|
||||
|
||||
public T getStack() {
|
||||
return RealStack;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user