From 1568c3f89067a93e5e7a52260d562bf65a04680f Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 21 Jan 2011 17:59:12 -0800 Subject: [PATCH] Fixed issue with BlockWorldVector causing java.lang.VerifyError due to how Bukkit loads plugins. --- src/com/sk89q/worldedit/BlockWorldVector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/sk89q/worldedit/BlockWorldVector.java b/src/com/sk89q/worldedit/BlockWorldVector.java index a7c4fe1c1..805fdbce0 100644 --- a/src/com/sk89q/worldedit/BlockWorldVector.java +++ b/src/com/sk89q/worldedit/BlockWorldVector.java @@ -82,8 +82,8 @@ public class BlockWorldVector extends WorldVector { 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; }