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
1 changed files with 4 additions and 4 deletions

View File

@ -844,9 +844,9 @@ public class Vector implements Comparable<Vector>, Serializable {
@Override
public String toString() {
String x = "" + (getX() == getBlockX() ? getBlockX() : getX());
String y = "" + (getY() == getBlockY() ? getBlockY() : getY());
String z = "" + (getZ() == getBlockZ() ? getBlockZ() : getZ());
String x = (getX() == getBlockX() ? "" + getBlockX() : "" + getX());
String y = (getY() == getBlockY() ? "" + getBlockY() : "" + getY());
String z = (getZ() == getBlockZ() ? "" + getBlockZ() : "" + getZ());
return "(" + x + ", " + y + ", " + z + ")";
}
@ -879,7 +879,7 @@ public class Vector implements Comparable<Vector>, Serializable {
Math.max(v1.getZ(), v2.getZ())
);
}
/**
* Gets the midpoint of two vectors.
*