Skip to content

Commit

Permalink
Fix attractors not finding extractable resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Jan 28, 2024
1 parent 50a6f5b commit cc693ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private FluidVariant findVariantForNetwork(List<ConnectedFluidStorage> targets,

for (var t : targets) {
var toExtract = findExtractableResource(t.storage(), attractorFilter);
if (toExtract != null) {
if (!toExtract.isBlank()) {
return toExtract;
}
}
Expand Down

0 comments on commit cc693ed

Please sign in to comment.