Add PlayerPostRespawnEvent

This commit is contained in:
MisterVector
2018-10-26 21:33:13 -07:00
parent 86603709de
commit 452f8cf88b
2 changed files with 57 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ import org.jetbrains.annotations.NotNull;
/**
* Called when a player respawns.
* <p>
* If changing player state, see {@link com.destroystokyo.paper.event.player.PlayerPostRespawnEvent}
* because the player is "reset" between this event and that event and some changes won't persist.
*/
public class PlayerRespawnEvent extends PlayerEvent {
private static final HandlerList handlers = new HandlerList();