13
0
geforkt von Mirrors/Paper
Paper/Bukkit-Patches/0018-Add-respawn-API.patch

29 Zeilen
873 B
Diff

2014-04-03 22:12:44 +02:00
From e97e54dbdcfe6c517061020a5fc377a2249fbd4e Mon Sep 17 00:00:00 2001
2013-10-08 15:56:05 +02: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-04-03 22:12:44 +02:00
index b879ecb..6559243 100644
2013-10-08 15:56:05 +02:00
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
2014-04-03 22:12:44 +02:00
@@ -1076,6 +1076,14 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
2013-10-08 15:56:05 +02:00
{
throw new UnsupportedOperationException( "Not supported yet." );
}
+
+ /**
+ * Respawns the player if dead.
+ */
+ public void respawn()
+ {
+ throw new UnsupportedOperationException( "Not supported yet." );
+ }
}
Spigot spigot();
--
2014-04-03 22:12:44 +02:00
1.8.5.2.msysgit.0
2013-10-09 09:22:37 +02:00