mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
26 lines
911 B
Diff
26 lines
911 B
Diff
|
From 0000000000000000000000000000000000000000 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.
|
||
|
|
||
|
|
||
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
||
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||
|
@@ -0,0 +0,0 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
||
|
{
|
||
|
throw new UnsupportedOperationException( "Not supported yet." );
|
||
|
}
|
||
|
+
|
||
|
+ /**
|
||
|
+ * Respawns the player if dead.
|
||
|
+ */
|
||
|
+ public void respawn()
|
||
|
+ {
|
||
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
||
|
+ }
|
||
|
}
|
||
|
|
||
|
Spigot spigot();
|
||
|
--
|