Skip to content

Commit

Permalink
Merge pull request #298 from GTModpackTeam/fix-vacuumFreezerExtended
Browse files Browse the repository at this point in the history
  • Loading branch information
tier940 authored Sep 17, 2024
2 parents 37b82d5 + b58a058 commit f65ca22
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v2.3.2
- Fix BlastTemperature of Vacuum Freezer Extended Recipes.

* * *

# v2.3.1
- Hotfix a mistake when splitting into INBs [#296](https://github.com/GTModpackTeam/GTExpert-Core/pull/296)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private static void vacuumFreezerExtended(@NotNull Material material) {
(int) (material.getMass() * 0.5);

// Check if the material has a blast temperature above 5000K
if (property.getBlastTemperature() > 5000) {
if (property.getBlastTemperature() >= 5000) {
if (material.hasFlag(GENERATE_PLATE)) {
RecipeMaps.VACUUM_RECIPES.recipeBuilder()
.notConsumable(MetaItems.SHAPE_MOLD_PLATE)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/gtexpert/loaders/recipe/CEUOverrideRecipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private static void materials() {
List<Material> materials = new ArrayList<>(GregTechAPI.materialManager.getRegisteredMaterials());
materials.forEach(CEUOverrideRecipe::vacuumFreezerExtended);

// Remove Gem (temp fix)
// Remove Gem
materials.forEach(CEUOverrideRecipe::removeGem);

// Iron Nugget
Expand Down Expand Up @@ -375,7 +375,7 @@ private static void vacuumFreezerExtended(@NotNull Material material) {
(int) material.getMass() * 3;

// Check if the material has a blast temperature above 5000K
if (property.getBlastTemperature() > 5000) {
if (property.getBlastTemperature() >= 5000) {
if (material.hasFlag(GENERATE_PLATE)) {
RecipeMaps.VACUUM_RECIPES.recipeBuilder()
.notConsumable(MetaItems.SHAPE_MOLD_PLATE)
Expand Down

0 comments on commit f65ca22

Please sign in to comment.