summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/Location.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/bukkit/Location.java')
-rw-r--r--src/main/java/org/bukkit/Location.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/Location.java b/src/main/java/org/bukkit/Location.java
index 5c18507b..37fecc10 100644
--- a/src/main/java/org/bukkit/Location.java
+++ b/src/main/java/org/bukkit/Location.java
@@ -209,7 +209,7 @@ public class Location implements Cloneable {
* <li>A pitch of 90 represents downward facing, or negative y
* direction.
* <li>A pitch of -90 represents upward facing, or positive y direction.
- * <ul>
+ * </ul>
* Increasing pitch values the equivalent of looking down.
*
* @param pitch new incline's pitch
@@ -225,7 +225,7 @@ public class Location implements Cloneable {
* <li>A pitch of 90 represents downward facing, or negative y
* direction.
* <li>A pitch of -90 represents upward facing, or positive y direction.
- * <ul>
+ * </ul>
* Increasing pitch values the equivalent of looking down.
*
* @return the incline's pitch
@@ -260,6 +260,9 @@ public class Location implements Cloneable {
/**
* Sets the {@link #getYaw() yaw} and {@link #getPitch() pitch} to point
* in the direction of the vector.
+ *
+ * @param vector the direction vector
+ * @return the same location
*/
public Location setDirection(Vector vector) {
/*