Added getBedSpawnLocation to Player. Thanks fernferret!

This commit is contained in:
EvilSeph
2011-09-20 23:32:21 -04:00
parent b663aa5900
commit ef124be4d4

View File

@@ -383,4 +383,11 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer {
* @param value New food level
*/
public void setFoodLevel(int value);
/**
* Gets the Location where the player will spawn at their bed, null if they have not slept in one or their current bed spawn is invalid.
*
* @return Bed Spawn Location if bed exists, otherwise null.
*/
public Location getBedSpawnLocation();
}