mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Merge pull request #3941 from iTwins/fix/soulbound_backpack
This commit is contained in:
commit
27ed35ee1c
@ -130,9 +130,9 @@ public class MagicWorkbench extends AbstractCraftingTable {
|
||||
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user