2014-01-21 04:32:54 +00:00
|
|
|
From 0404f576113f57a2c7f605935b5c9296f9a5b0a9 Mon Sep 17 00:00:00 2001
|
2013-10-08 13:56:05 +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
|
2014-01-21 04:32:54 +00:00
|
|
|
index 1c80bd2..adef230 100644
|
2013-10-08 13:56:05 +00:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
2014-01-21 04:32:54 +00:00
|
|
|
@@ -1059,6 +1059,14 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
2013-10-08 13:56:05 +00:00
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Respawns the player if dead.
|
|
|
|
+ */
|
|
|
|
+ public void respawn()
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
|
|
|
|
Spigot spigot();
|
|
|
|
--
|
2013-12-18 06:48:18 +00:00
|
|
|
1.8.3.2
|
2013-10-09 07:22:37 +00:00
|
|
|
|