hash code and stump of map

This commit is contained in:
gnembon committed 2019-10-01 14:50:16 -03:00
1 parent b6fe264a76
commit 8b7b285503
12 files changed
+125 -5

No files matched your search

@@ -138,6 +138,13 @@ public class EntityValue extends Value
return "entity";
}
@Override
public int hashCode()
{
return entity.hashCode();
}
public static Pair<EntityType<?>, Predicate<? super Entity>> getPredicate(String who)
{
Pair<EntityType<?>, Predicate<? super Entity>> res = entityPredicates.get(who);