diff --git a/src/com/sk89q/worldedit/Point.java b/src/com/sk89q/worldedit/Point.java index 29d6d5360..13a2c8580 100644 --- a/src/com/sk89q/worldedit/Point.java +++ b/src/com/sk89q/worldedit/Point.java @@ -20,6 +20,7 @@ package com.sk89q.worldedit; import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.EqualsBuilder; /** * @@ -75,7 +76,12 @@ public final class Point { return false; } Point other = (Point)obj; - return other.x == x && other.y == y && other.z == z; + return new EqualsBuilder() + .append(x, other.x) + .append(y, other.y) + .append(z, other.z) + .isEquals(); + } /**