9
0
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:
Julian Krings
2025-10-05 21:46:12 +02:00
parent f68d45bd30
commit 979ee4e7d8

View File

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