Fixed another duplication bug with a disconnected Crafting Grid. Fixes #2094
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
- Fixed Refined Storage jars not being signed (raoulvdberge)
|
||||
- Fixed client stalling when trying to search with # for tooltips (raoulvdberge)
|
||||
- Fixed crafting task stalling when there's not enough space in the inventory (raoulvdberge)
|
||||
- Fixed another duplication bug with a disconnected Crafting Grid (raoulvdberge)
|
||||
- Removed getMissingItems() and getMissingFluids() functions from the OpenComputers integration, that info is now accessible through schedule(Fluid)Task(). If you just want to check if there are missing items/fluids but don't want to start an actual task, use the "canSchedule" parameter (raoulvdberge)
|
||||
- Updated Russian translation (kellixon)
|
||||
- Added fluid functions for the fluid autocrafting to the OpenComputers integration (raoulvdberge)
|
||||
|
@@ -94,6 +94,11 @@ public class ContainerGrid extends ContainerBase implements IGridCraftingListene
|
||||
slot.putStack(itemHandler.onShiftClick((EntityPlayerMP) getPlayer(), stack));
|
||||
} else if (slot instanceof SlotGridCrafting && mergeItemStack(stack, 14, 14 + (9 * 4), false)) {
|
||||
slot.onSlotChanged();
|
||||
|
||||
// This is needed because when a grid is disconnected,
|
||||
// and a player shift clicks from the matrix to the inventory (this if case),
|
||||
// the crafting inventory isn't being notified.
|
||||
grid.onCraftingMatrixChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user