Remove distinct call

This commit is contained in:
themode 2022-02-13 20:35:02 +01:00
parent 056f819cc8
commit 01e5be9454

View File

@ -227,7 +227,7 @@ public final class ViewEngine {
Stream<T> sharedInstanceStream = shared.stream().<List<T>>mapMulti((inst, consumer) -> { Stream<T> sharedInstanceStream = shared.stream().<List<T>>mapMulti((inst, consumer) -> {
var ref = inst.getEntityTracker().references(lastPoint, range, target); var ref = inst.getEntityTracker().references(lastPoint, range, target);
ref.forEach(consumer); ref.forEach(consumer);
}).flatMap(Collection::stream).distinct(); }).flatMap(Collection::stream);
result = Stream.concat(result, sharedInstanceStream); result = Stream.concat(result, sharedInstanceStream);
} }
} }