Fixed error logs when toggling the Pattern Grid from and to processing mode
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
### 1.5.31
|
||||
- Improved the "cannot craft! loop in processing..." error message (raoulvdberge)
|
||||
- Fixed error logs when toggling the Pattern Grid from and to processing mode (raoulvdberge)
|
||||
|
||||
### 1.5.30
|
||||
- Fixed crashing bug when MCMultiPart is not installed (raoulvdberge)
|
||||
|
||||
@@ -662,6 +662,10 @@ public class GuiGrid extends GuiBase implements IGridDisplay {
|
||||
} else if (button == blockingPattern) {
|
||||
TileDataManager.setParameter(TileGrid.BLOCKING_PATTERN, blockingPattern.isChecked());
|
||||
} else if (button == processingPattern) {
|
||||
// Rebuild the inventory slots before the slot change packet arrives
|
||||
TileGrid.PROCESSING_PATTERN.setValue(processingPattern.isChecked());
|
||||
((ContainerGrid) this.inventorySlots).initSlots();
|
||||
|
||||
TileDataManager.setParameter(TileGrid.PROCESSING_PATTERN, processingPattern.isChecked());
|
||||
} else if (button == tabPageLeft) {
|
||||
grid.onTabPageChanged(grid.getTabPage() - 1);
|
||||
|
||||
Reference in New Issue
Block a user