2016-03-01 00:23:45 +00:00
|
|
|
From e5707119e3a0e1279df92b73c9d618eb7956c7c8 Mon Sep 17 00:00:00 2001
|
2014-07-21 20:46:54 +00:00
|
|
|
From: ninja- <xninja@openmailbox.org>
|
|
|
|
Date: Tue, 8 Oct 2013 14:35:58 +0200
|
|
|
|
Subject: [PATCH] Add respawn API.
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
2016-02-29 21:33:06 +00:00
|
|
|
index 146fbd4..a9bdfde 100644
|
2014-07-21 20:46:54 +00:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
2016-02-29 21:33:06 +00:00
|
|
|
@@ -1312,6 +1312,14 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
2014-07-21 20:46:54 +00:00
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Respawns the player if dead.
|
|
|
|
+ */
|
|
|
|
+ public void respawn()
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
|
|
|
|
Spigot spigot();
|
|
|
|
--
|
2016-02-29 21:33:06 +00:00
|
|
|
2.5.0
|
2014-07-21 20:46:54 +00:00
|
|
|
|