Couple fixes/improvements to PlayerSetSpawnEvent (#6754)

This commit is contained in:
Jake Potrebic
2022-04-30 13:24:47 -07:00
parent 655a3cf961
commit bce57808da
2 changed files with 44 additions and 6 deletions

View File

@@ -58,7 +58,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ /**
+ * Gets the location that the spawn is set to. The yaw
+ * of this location is the spawn angle.
+ * of this location is the spawn angle. Mutating this location
+ * will change the resulting spawn point of the player. Use
+ * {@link Location#clone()} to get a copy of this location.
+ *
+ * @return the spawn location, or null if removing the location
+ */