Skip to content

Commit

Permalink
Fix inverted check for if a block supports specific upgrades during r…
Browse files Browse the repository at this point in the history
…ecipe upgrading (#8217)
  • Loading branch information
pupnewfster committed Aug 25, 2024
1 parent 4c2468e commit b2ced69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b2ced69

Please sign in to comment.