Added method to set spawn location

This commit is contained in:
SpeaKeasY 2011-02-28 20:19:47 -06:00 committed by Erik Broes
parent f03df70557
commit 42d4daddde

View File

@ -334,6 +334,13 @@ public interface World {
*/ */
public Location getSpawnLocation(); 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. * Gets the relative in-game time of this world.
* *