mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2025-01-17 05:41:33 +01:00
*
This commit is contained in:
parent
29337e17d1
commit
8e3e5b0d14
@ -844,9 +844,9 @@ public class Vector implements Comparable<Vector>, Serializable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
String x = "" + (getX() == getBlockX() ? getBlockX() : getX());
|
String x = (getX() == getBlockX() ? "" + getBlockX() : "" + getX());
|
||||||
String y = "" + (getY() == getBlockY() ? getBlockY() : getY());
|
String y = (getY() == getBlockY() ? "" + getBlockY() : "" + getY());
|
||||||
String z = "" + (getZ() == getBlockZ() ? getBlockZ() : getZ());
|
String z = (getZ() == getBlockZ() ? "" + getBlockZ() : "" + getZ());
|
||||||
return "(" + x + ", " + y + ", " + z + ")";
|
return "(" + x + ", " + y + ", " + z + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -879,7 +879,7 @@ public class Vector implements Comparable<Vector>, Serializable {
|
|||||||
Math.max(v1.getZ(), v2.getZ())
|
Math.max(v1.getZ(), v2.getZ())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the midpoint of two vectors.
|
* Gets the midpoint of two vectors.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user