mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Fixed issue with BlockWorldVector causing java.lang.VerifyError due to how Bukkit loads plugins.
This commit is contained in:
parent
ecb2942f1d
commit
1568c3f890
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user