mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-17 04:11:31 +01:00
Merge branch 'development'
This commit is contained in:
commit
f2b9c6d5a2
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "EpicHoppers"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "4.3.9"
|
||||
version: "4.3.10"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user