Skip to content

Commit

Permalink
Fix unable to craft soulbound backpack with woven backpack with id (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
iTwins committed Aug 8, 2023
1 parent 8bcf073 commit 53cb0d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ private Block locateDispenser(Block b) {

private boolean isCraftable(Inventory inv, ItemStack[] recipe) {
for (int j = 0; j < inv.getContents().length; j++) {
if (!SlimefunUtils.isItemSimilar(inv.getContents()[j], recipe[j], true)) {
if (!SlimefunUtils.isItemSimilar(inv.getContents()[j], recipe[j], true, true, false)) {
if (SlimefunItem.getByItem(recipe[j]) instanceof SlimefunBackpack) {
if (!SlimefunUtils.isItemSimilar(inv.getContents()[j], recipe[j], false)) {
if (!SlimefunUtils.isItemSimilar(inv.getContents()[j], recipe[j], false, true, false)) {
return false;
}
} else {
Expand Down

0 comments on commit 53cb0d9

Please sign in to comment.