From 42d4dadddeb7f58d9e3784992ba1513015612dc6 Mon Sep 17 00:00:00 2001 From: SpeaKeasY Date: Mon, 28 Feb 2011 20:19:47 -0600 Subject: [PATCH] Added method to set spawn location --- src/main/java/org/bukkit/World.java | 7 +++++++ 1 file changed, 7 insertions(+) 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 @@ -334,6 +334,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. *