Skip to content

Commit 90e6262

Browse files
committed
Merge remote-tracking branch 'origin/master-1.21-lts' into master-1.21
2 parents bcebabc + e9e767b commit 90e6262

5 files changed

Lines changed: 32 additions & 4 deletions

File tree

CHANGELOG-1.20.1.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# Changelog for Minecraft 1.20.1
22
All notable changes to this project will be documented in this file.
33

4+
<a name="1.20.1-1.4.4"></a>
5+
## [1.20.1-1.4.4](/compare/1.20.1-1.4.3...1.20.1-1.4.4) - 2026-02-12 16:47:55
6+
7+
8+
### Fixed
9+
* Fix crash on invalid Stone Cutter recipes, Closes #178
10+
411
<a name="1.20.1-1.4.3"></a>
5-
## [1.20.1-1.4.3](/compare/1.20.1-1.4.2...1.20.1-1.4.3) - 2026-02-01 14:22:50
12+
## [1.20.1-1.4.3](/compare/1.20.1-1.4.2...1.20.1-1.4.3) - 2026-02-01 14:22:50 +0100
613

714

815
### Fixed

CHANGELOG-1.21.1.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# Changelog for Minecraft 1.21.1
22
All notable changes to this project will be documented in this file.
33

4+
<a name="1.21.1-1.4.4"></a>
5+
## [1.21.1-1.4.4](https://github.com/CyclopsMC/IntegratedCrafting/compare/1.21.1-1.4.3...1.21.1-1.4.4) - 2026-02-12 16:49:31
6+
7+
8+
### Fixed
9+
* Fix crash on invalid Stone Cutter recipes, Closes #178
10+
411
<a name="1.21.1-1.4.3"></a>
5-
## [1.21.1-1.4.3](https://github.com/CyclopsMC/IntegratedCrafting/compare/1.21.1-1.4.2...1.21.1-1.4.3) - 2026-02-01 14:24:27
12+
## [1.21.1-1.4.3](https://github.com/CyclopsMC/IntegratedCrafting/compare/1.21.1-1.4.2...1.21.1-1.4.3) - 2026-02-01 14:24:27 +0100
613

714

815
### Added
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
As always, don't forget to backup your world before updating!
2+
Requires CyclopsCore version 1.18.4 or higher.
3+
4+
Fixes:
5+
* Fix crash on invalid Stone Cutter recipes, Closes #178
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
As always, don't forget to backup your world before updating!
2+
Requires CyclopsCore version 1.26.2 or higher.
3+
4+
Fixes:
5+
* Fix crash on invalid Stone Cutter recipes, Closes #178

src/main/java/org/cyclops/integratedcrafting/core/CraftingJobHandler.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,11 @@ protected boolean insertCrafting(PartPos target, IMixedIngredients ingredients,
516516
// First check our crafting overrides
517517
for (ICraftingProcessOverride craftingProcessOverride : this.craftingProcessOverrides) {
518518
if (craftingProcessOverride.isApplicable(target)) {
519-
return craftingProcessOverride.craft(targetGetter, ingredients, recipe, this.resultsSink, craftingJob, simulate);
519+
try {
520+
return craftingProcessOverride.craft(targetGetter, ingredients, recipe, this.resultsSink, craftingJob, simulate);
521+
} catch (IllegalArgumentException e) {
522+
return false;
523+
}
520524
}
521525
}
522526

@@ -530,7 +534,7 @@ protected void insertLoopNonBlocking(INetwork network, int channel, PartPos targ
530534
IRecipeDefinition recipe = craftingJob.getRecipe();
531535
IMixedIngredients ingredientsSimulated = CraftingHelpers.getRecipeInputsFromCraftingJobBuffer(craftingJob,
532536
recipe, true, 1);
533-
if (ingredientsSimulated == null ||!insertCrafting(targetPos, ingredientsSimulated, recipe, craftingJob, network, channel, true)) {
537+
if (ingredientsSimulated == null || !insertCrafting(targetPos, ingredientsSimulated, recipe, craftingJob, network, channel, true)) {
534538
break;
535539
}
536540
if (!consumeAndInsertCrafting(true, network, channel, targetPos, craftingJob)) {

0 commit comments

Comments
 (0)