Merge branch 'development'

This commit is contained in:
Brianna 2019-11-16 13:30:24 -05:00
commit f2b9c6d5a2
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "EpicHoppers"
path: "/builds/$CI_PROJECT_PATH"
version: "4.3.9"
version: "4.3.10"
build:
stage: build

View File

@ -66,7 +66,9 @@ public class ModuleAutoCrafting extends Module {
for (ItemStack item : recipe.recipe) {
int amountHave = 0;
for (ItemStack hopperItem : hopperCache.cachedInventory) {
if (hopperItem != null && Methods.isSimilarMaterial(hopperItem, item))
if (hopperItem != null
&& !(hopperItem.hasItemMeta() && hopperItem.getItemMeta().hasDisplayName())
&& Methods.isSimilarMaterial(hopperItem, item))
amountHave += hopperItem.getAmount();
}
if (amountHave < item.getAmount()) {