From 84ac5b3cf2bb31dc92437a482e55a26723ecc7e2 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot <noreply+git-bukkit@papermc.io> Date: Tue, 8 Oct 2013 14:35:58 +0200 Subject: [PATCH] Add respawn API. By: ninja- <xninja@openmailbox.org> --- paper-api/src/main/java/org/bukkit/entity/Player.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java index f26ffbdb8e..5a339dbc0b 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/src/main/java/org/bukkit/entity/Player.java @@ -2301,6 +2301,13 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM public InetSocketAddress getRawAddress() { throw new UnsupportedOperationException("Not supported yet."); } + + /** + * Respawns the player if dead. + */ + public void respawn() { + throw new UnsupportedOperationException("Not supported yet."); + } } @NotNull