Merge pull request #4430 from Joshua-F/fix/actorquery-interacting

Use the supplied actor passed to ActorQuery#isInteractingWith
This commit is contained in:
Tomas Slusny
2018-07-21 00:35:14 +02:00
committed by GitHub

View File

@@ -91,7 +91,7 @@ public abstract class ActorQuery<EntityType extends Actor, QueryType> extends Qu
@SuppressWarnings("unchecked")
public QueryType isInteractingWith(Actor actor)
{
predicate = and(a -> a.getInteracting().equals(a));
predicate = and(a -> a.getInteracting().equals(actor));
return (QueryType) this;
}