AutoCrafting isSimilar durability check fix

This commit is contained in:
Esophose 2019-06-04 02:01:56 -06:00
parent 1be1a0f26b
commit 0dff6dabb3

View File

@ -175,7 +175,7 @@ public class ModuleAutoCrafting implements Module {
if (EpicHoppers.getInstance().isServerVersionAtLeast(ServerVersion.V1_13)) {
return is1.getType() == is2.getType();
} else {
return is1.getType() == is2.getType() || is1.getDurability() == is2.getDurability();
return is1.getType() == is2.getType() && is1.getDurability() == is2.getDurability();
}
}