Compare commits

...

2 commits

Author SHA1 Message Date
Ell fcaedb3d5e 1.13.2 2022-07-16 10:23:43 +02:00
Ell c94907e327 fixed a retrieval module crash, oh God
Closes #140
2022-07-16 10:22:08 +02:00
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.13.1'
version = '1.13.2'
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