Fixed issue with BlockWorldVector causing java.lang.VerifyError due to how Bukkit loads plugins.

This commit is contained in:
sk89q 2011-01-21 17:59:12 -08:00
parent ecb2942f1d
commit 1568c3f890

View File

@ -82,8 +82,8 @@ public boolean equals(Object obj) {
return false;
}
WorldVector other = (WorldVector)obj;
return (int)other.x == (int)this.x && (int)other.y == (int)this.y
&& (int)other.z == (int)this.z;
return (int)other.getX() == (int)this.x && (int)other.getY() == (int)this.y
&& (int)other.getZ() == (int)this.z;
}