diff --git a/src/main/java/net/minestom/server/utils/ViewEngine.java b/src/main/java/net/minestom/server/utils/ViewEngine.java index 9471def44..43f4aaae0 100644 --- a/src/main/java/net/minestom/server/utils/ViewEngine.java +++ b/src/main/java/net/minestom/server/utils/ViewEngine.java @@ -227,7 +227,7 @@ public final class ViewEngine { Stream sharedInstanceStream = shared.stream().>mapMulti((inst, consumer) -> { var ref = inst.getEntityTracker().references(lastPoint, range, target); ref.forEach(consumer); - }).flatMap(Collection::stream).distinct(); + }).flatMap(Collection::stream); result = Stream.concat(result, sharedInstanceStream); } }