mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-27 22:29:21 +02:00
Deprecate PlayerLeaveBedEvent#setBedSpawn
this is no longer attached to anything, and from a glance it looks like the point at which this information is set has moved to a place which wouldn't fall in line in a way that we could re-implement these without breaking vanilla behaivior Also, just noticed that we apparently need to give our own javadocs some love at some point
This commit is contained in:
parent
830dd30d81
commit
777e24e5b5
1 changed files with 24 additions and 0 deletions
|
@ -50,6 +50,30 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
* @deprecated Use {@link #sendTitle(Title)} or {@link #updateTitle(Title)}
|
||||
*/
|
||||
@Deprecated
|
||||
diff --git a/src/main/java/org/bukkit/event/player/PlayerBedLeaveEvent.java b/src/main/java/org/bukkit/event/player/PlayerBedLeaveEvent.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/event/player/PlayerBedLeaveEvent.java
|
||||
+++ b/src/main/java/org/bukkit/event/player/PlayerBedLeaveEvent.java
|
||||
@@ -0,0 +0,0 @@ public class PlayerBedLeaveEvent extends PlayerEvent implements Cancellable {
|
||||
* {@link Player#setBedSpawnLocation(Location)}.
|
||||
*
|
||||
* @return true if the spawn location will be changed
|
||||
+ * @deprecated NOT IMPLEMENTED <!-- paper -->
|
||||
*/
|
||||
+ @Deprecated // Paper
|
||||
public boolean shouldSetSpawnLocation() {
|
||||
return setBedSpawn;
|
||||
}
|
||||
@@ -0,0 +0,0 @@ public class PlayerBedLeaveEvent extends PlayerEvent implements Cancellable {
|
||||
* {@link Player#setBedSpawnLocation(Location)}.
|
||||
*
|
||||
* @param setBedSpawn true to change the new spawn location
|
||||
+ * @deprecated NOT IMPLEMENTED <!-- paper -->
|
||||
*/
|
||||
+ @Deprecated // Paper
|
||||
public void setSpawnLocation(boolean setBedSpawn) {
|
||||
this.setBedSpawn = setBedSpawn;
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/event/player/PlayerMoveEvent.java b/src/main/java/org/bukkit/event/player/PlayerMoveEvent.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/event/player/PlayerMoveEvent.java
|
||||
|
|
Loading…
Add table
Reference in a new issue