hash code and stump of map
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user