Fixed bug where the Pattern Grid doesn't update it's output slot when manually configuring a crafting pattern. Fixes #2057
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
### 1.6.10
|
||||
- Fixed client FPS stalling when using "@" mod search in the Grid (raoulvdberge)
|
||||
- Fixed fluid inputs/outputs in the Pattern Grid not being set when you re-insert a Pattern with fluid inputs/outputs (raoulvdberge)
|
||||
- Fixed bug where the Pattern Grid doesn't update it's output slot when manually configuring a crafting pattern (raoulvdberge)
|
||||
|
||||
### 1.6.9
|
||||
- Fixed OpenComputers "unknown error" when using extract item API (raoulvdberge)
|
||||
|
@@ -77,8 +77,6 @@ public class ContainerGrid extends ContainerBase implements IGridCraftingListene
|
||||
if (slot == craftingResultSlot) {
|
||||
grid.onCraftedShift(getPlayer());
|
||||
|
||||
onCraftingMatrixChanged();
|
||||
|
||||
detectAndSendChanges();
|
||||
} else {
|
||||
ItemStack stack = slot.getStack();
|
||||
@@ -208,7 +206,7 @@ public class ContainerGrid extends ContainerBase implements IGridCraftingListene
|
||||
for (int i = 0; i < inventorySlots.size(); ++i) {
|
||||
Slot slot = inventorySlots.get(i);
|
||||
|
||||
if (slot instanceof SlotGridCrafting || slot == craftingResultSlot) {
|
||||
if (slot instanceof SlotGridCrafting || slot == craftingResultSlot || slot == patternResultSlot) {
|
||||
for (IContainerListener listener : listeners) {
|
||||
// @Volatile: We can't use IContainerListener#sendSlotContents since EntityPlayerMP blocks SlotCrafting changes...
|
||||
if (listener instanceof EntityPlayerMP) {
|
||||
|
@@ -26,8 +26,6 @@ public class SlotGridCraftingResult extends SlotCrafting {
|
||||
|
||||
if (!player.getEntityWorld().isRemote) {
|
||||
grid.onCrafted(player);
|
||||
|
||||
container.onCraftingMatrixChanged();
|
||||
}
|
||||
|
||||
return ItemStack.EMPTY;
|
||||
|
Reference in New Issue
Block a user