Please sign in to comment.
Vector and BlockVector should use the same hashCode
For example, the getChunks method returns a Set<Vector2D> which is actually comprised of BlockVector2D, so using set.contains(some vector) will always return false. There's unlikely to be multiple entities on the same block, or above y=256, so using the int coords is better.
- Loading branch information...
Showing with 2 additions and 21 deletions.