From b2ced69b53e7977fbc4025eab55c3ab08665e603 Mon Sep 17 00:00:00 2001 From: Sara Freimer Date: Sun, 25 Aug 2024 11:23:40 -0500 Subject: [PATCH] Fix inverted check for if a block supports specific upgrades during recipe upgrading (#8217) --- .../java/mekanism/common/recipe/upgrade/UpgradesRecipeData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/mekanism/common/recipe/upgrade/UpgradesRecipeData.java b/src/main/java/mekanism/common/recipe/upgrade/UpgradesRecipeData.java index b6badfdad40..9e4bd58000c 100644 --- a/src/main/java/mekanism/common/recipe/upgrade/UpgradesRecipeData.java +++ b/src/main/java/mekanism/common/recipe/upgrade/UpgradesRecipeData.java @@ -70,7 +70,7 @@ public boolean applyToStack(HolderLookup.Provider provider, ItemStack stack) { supportedUpgrades = upgradeSupport.supportedUpgrades(); } } - if (supportedUpgrades.containsAll(upgrades.keySet())) { + if (!supportedUpgrades.containsAll(upgrades.keySet())) { //Not all upgrades are supported, fail return false; }