Add PlayerSetSpawnEvent

This commit is contained in:
Jake Potrebic
2021-05-19 18:58:24 -07:00
parent 896a9e601a
commit 957d209cb4
2 changed files with 177 additions and 0 deletions

View File

@@ -10,7 +10,9 @@ import org.jetbrains.annotations.Nullable;
/**
* This event is fired when the spawn point of the player is changed.
* @deprecated use {@link com.destroystokyo.paper.event.player.PlayerSetSpawnEvent}
*/
@Deprecated(forRemoval = true) // Paper
public class PlayerSpawnChangeEvent extends PlayerEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();