Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-10 05:20:04 +01:00
Added BlockVector[2D].toBlockVector[2D] overrrides.
This returns the current object, for an instant speed boost :)
Dieser Commit ist enthalten in:
Ursprung
8a24fd9741
Commit
555758288b
@ -97,4 +97,9 @@ public class BlockVector extends Vector {
|
||||
(Integer.valueOf((int) y).hashCode() << 12) ^
|
||||
Integer.valueOf((int) z).hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockVector toBlockVector() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
@ -90,4 +90,9 @@ public class BlockVector2D extends Vector2D {
|
||||
return (Integer.valueOf((int) x).hashCode() >> 13) ^
|
||||
Integer.valueOf((int) z).hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockVector2D toBlockVector2D() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren