diff --git a/src/net/TheDgtl/Stargate/Blox.java b/src/net/TheDgtl/Stargate/Blox.java index 8689977..d91cee3 100644 --- a/src/net/TheDgtl/Stargate/Blox.java +++ b/src/net/TheDgtl/Stargate/Blox.java @@ -105,11 +105,12 @@ public class Blox { @Override public int hashCode() { - int result = 0; + int result = 18; - result += x * 92821; - result += y * 92821; - result += z * 92821; + result = result * 27 + x; + result = result * 27 + y; + result = result * 27 + z; + result = result * 27 + world.hashCode(); return result; }