Prevent accidental Grid scrollbar click after clicking JEI recipe transfer button. Fixes #1821
This commit is contained in:
@@ -31,9 +31,9 @@ public class RecipeTransferHandlerGrid implements IRecipeTransferHandler {
|
||||
|
||||
@Override
|
||||
public IRecipeTransferError transferRecipe(Container container, IRecipeLayout recipeLayout, EntityPlayer player, boolean maxTransfer, boolean doTransfer) {
|
||||
LAST_TRANSFER = System.currentTimeMillis();
|
||||
|
||||
if (doTransfer) {
|
||||
LAST_TRANSFER = System.currentTimeMillis();
|
||||
|
||||
IGrid grid = ((ContainerGrid) container).getGrid();
|
||||
|
||||
if (grid.getType() == GridType.PATTERN && ((NetworkNodeGrid) grid).isProcessingPattern()) {
|
||||
|
||||
Reference in New Issue
Block a user