mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fix unable to craft soulbound backpack with woven backpack with id (#3939)
This commit is contained in:
parent
8bcf0735e5
commit
53cb0d93dc
@ -130,9 +130,9 @@ public class MagicWorkbench extends AbstractCraftingTable {
|
|||||||
|
|
||||||
private boolean isCraftable(Inventory inv, ItemStack[] recipe) {
|
private boolean isCraftable(Inventory inv, ItemStack[] recipe) {
|
||||||
for (int j = 0; j < inv.getContents().length; j++) {
|
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 (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;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user