diff --git a/build.gradle b/build.gradle index 840b45e..20c8396 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle' apply plugin: 'eclipse' apply plugin: 'maven-publish' -version = '1.12.5' +version = '1.12.6' group = 'de.ellpeck.prettypipes' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'PrettyPipes' diff --git a/src/main/java/de/ellpeck/prettypipes/pipe/modules/retrieval/RetrievalModuleItem.java b/src/main/java/de/ellpeck/prettypipes/pipe/modules/retrieval/RetrievalModuleItem.java index e2f440c..a2a8cab 100644 --- a/src/main/java/de/ellpeck/prettypipes/pipe/modules/retrieval/RetrievalModuleItem.java +++ b/src/main/java/de/ellpeck/prettypipes/pipe/modules/retrieval/RetrievalModuleItem.java @@ -46,7 +46,7 @@ public class RetrievalModuleItem extends ModuleItem { var copy = filtered.copy(); copy.setCount(this.maxExtraction); var dest = tile.getAvailableDestination(directions, copy, true, this.preventOversending); - if (dest.getRight().isEmpty()) + if (dest == null) continue; var remain = dest.getRight().copy(); // are we already waiting for crafting results? If so, don't request those again