This commit is contained in:
Jesse Boyd 2018-04-26 05:24:41 +10:00
parent 29337e17d1
commit 8e3e5b0d14
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -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.
* *