diff options
-rw-r--r-- | src/main/java/org/bukkit/World.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index 4ded4ba2..04810f3d 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -335,6 +335,13 @@ public interface World { public Location getSpawnLocation(); /** + * Sets the spawn location of the world + * + * @return True if it was successfully set. + */ + public boolean setSpawnLocation(int x, int y, int z); + + /** * Gets the relative in-game time of this world. * * The relative time is analogous to hours * 1000 |