diff --git a/metamorph/src/main/java/org/metafacture/metamorph/Entity.java b/metamorph/src/main/java/org/metafacture/metamorph/Entity.java index 5e449f2b5..ac7bb92c9 100644 --- a/metamorph/src/main/java/org/metafacture/metamorph/Entity.java +++ b/metamorph/src/main/java/org/metafacture/metamorph/Entity.java @@ -48,8 +48,8 @@ public Entity(final Metamorph metamorph) { this.receiver = () -> metamorph.getStreamReceiver(); } - public Entity(final StreamReceiver receiver) { - this.receiver = () -> receiver; + public Entity(final Supplier receiver) { + this.receiver = receiver; } public void setNameSource(final NamedValueSource source) {