geforkt von Mirrors/FastAsyncWorldEdit
*
Dieser Commit ist enthalten in:
Ursprung
ad7fdd19fb
Commit
58094c72c3
@ -73,6 +73,11 @@ public class BlockVector extends Vector {
|
|||||||
super(x, y, z);
|
super(x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return ((int) x ^ ((int) z << 12)) ^ ((int) y << 24);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
if (!(obj instanceof Vector)) {
|
if (!(obj instanceof Vector)) {
|
||||||
|
@ -69,6 +69,11 @@ public class BlockVector2D extends Vector2D {
|
|||||||
super(x, z);
|
super(x, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return ((int) x << 16) ^ (int) z;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
if (!(obj instanceof Vector2D)) {
|
if (!(obj instanceof Vector2D)) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren