mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-19 15:09:18 +00:00
switch hashing algorithm for objects once more
This commit is contained in:
@@ -21,6 +21,6 @@ public class Vector3i extends BlockVector {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return (((int) x & 0x3FF) << 2) | (((int) y & 0x3FF) << 1) | ((int) z & 0x3FF);
|
||||
return (int) x ^ ((int) z << 12) ^ ((int) y << 24);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user