Also fix #140 here (and 1.12.6)

This commit is contained in:
Ell 2022-07-16 10:25:05 +02:00
parent c1ccdd8486
commit 955652cd20
2 changed files with 2 additions and 2 deletions

View file

@ -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'

View file

@ -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