geforkt von Mirrors/Paper
31 Zeilen
926 B
Diff
31 Zeilen
926 B
Diff
|
From 1b666e47c484bbf9b02653da53a53e978bc645dd Mon Sep 17 00:00:00 2001
|
||
|
From: ninja- <xninja@openmailbox.org>
|
||
|
Date: Tue, 8 Oct 2013 14:35:58 +0200
|
||
|
Subject: [PATCH] Add respawn API.
|
||
|
|
||
|
---
|
||
|
src/main/java/org/bukkit/entity/Player.java | 8 ++++++++
|
||
|
1 file changed, 8 insertions(+)
|
||
|
|
||
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||
|
index 9ee8f5f..8fd9a07 100644
|
||
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
||
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||
|
@@ -762,6 +762,14 @@ public void setCollidesWithEntities(boolean collides)
|
||
|
{
|
||
|
throw new UnsupportedOperationException( "Not supported yet." );
|
||
|
}
|
||
|
+
|
||
|
+ /**
|
||
|
+ * Respawns the player if dead.
|
||
|
+ */
|
||
|
+ public void respawn()
|
||
|
+ {
|
||
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
||
|
+ }
|
||
|
}
|
||
|
|
||
|
Spigot spigot();
|
||
|
--
|
||
|
1.8.4
|