fix: use the supplied actor to check against in isInteractingWith

This commit is contained in:
Joshua Filby
2018-07-20 17:07:03 -05:00
parent 0a4ce4cf4c
commit fb0dc0c68c

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;
}