Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
*
Dieser Commit ist enthalten in:
Ursprung
ad7fdd19fb
Commit
58094c72c3
@ -73,6 +73,11 @@ public class BlockVector extends Vector {
|
||||
super(x, y, z);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return ((int) x ^ ((int) z << 12)) ^ ((int) y << 24);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (!(obj instanceof Vector)) {
|
||||
|
@ -69,6 +69,11 @@ public class BlockVector2D extends Vector2D {
|
||||
super(x, z);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return ((int) x << 16) ^ (int) z;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (!(obj instanceof Vector2D)) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren