mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Expose setBedSpawnLocation with force option. Adds BUKKIT-2709
This commit is contained in:
parent
8cc80425f0
commit
8d77e844f7
1 changed files with 8 additions and 0 deletions
|
@ -479,6 +479,14 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
|||
*/
|
||||
public void setBedSpawnLocation(Location location);
|
||||
|
||||
/**
|
||||
* Sets the Location where the player will spawn at their bed.
|
||||
*
|
||||
* @param location where to set the respawn location
|
||||
* @param force whether to forcefully set the respawn location even if a valid bed is not present
|
||||
*/
|
||||
public void setBedSpawnLocation(Location location, boolean force);
|
||||
|
||||
/**
|
||||
* Determines if the Player is allowed to fly via jump key double-tap like in creative mode.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue