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
|
### 1.5.31
|
||||||
- Improved the "cannot craft! loop in processing..." error message (raoulvdberge)
|
- 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
|
### 1.5.30
|
||||||
- Fixed crashing bug when MCMultiPart is not installed (raoulvdberge)
|
- Fixed crashing bug when MCMultiPart is not installed (raoulvdberge)
|
||||||
|
|||||||
@@ -662,6 +662,10 @@ public class GuiGrid extends GuiBase implements IGridDisplay {
|
|||||||
} else if (button == blockingPattern) {
|
} else if (button == blockingPattern) {
|
||||||
TileDataManager.setParameter(TileGrid.BLOCKING_PATTERN, blockingPattern.isChecked());
|
TileDataManager.setParameter(TileGrid.BLOCKING_PATTERN, blockingPattern.isChecked());
|
||||||
} else if (button == processingPattern) {
|
} 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());
|
TileDataManager.setParameter(TileGrid.PROCESSING_PATTERN, processingPattern.isChecked());
|
||||||
} else if (button == tabPageLeft) {
|
} else if (button == tabPageLeft) {
|
||||||
grid.onTabPageChanged(grid.getTabPage() - 1);
|
grid.onTabPageChanged(grid.getTabPage() - 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user