2022-03-07 14:51:41 +11:00
|
|
|
From e9d780e09f19e525d8d38b08ca835c7cea4b3664 Mon Sep 17 00:00:00 2001
|
2013-10-08 18:56:05 +05: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
|
2022-01-23 09:11:06 +11:00
|
|
|
index 43f21c07..8b52f443 100644
|
2013-10-08 18:56:05 +05:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
2022-01-23 09:11:06 +11:00
|
|
|
@@ -1576,6 +1576,13 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
2020-01-24 17:56:32 +11:00
|
|
|
public void setCollidesWithEntities(boolean collides) {
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-08 18:56:05 +05:00
|
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Respawns the player if dead.
|
|
|
|
+ */
|
2020-01-24 17:56:32 +11:00
|
|
|
+ public void respawn() {
|
|
|
|
+ throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-08 18:56:05 +05:00
|
|
|
+ }
|
|
|
|
}
|
|
|
|
|
2019-03-13 17:43:06 +11:00
|
|
|
@NotNull
|
2013-10-08 18:56:05 +05:00
|
|
|
--
|
2020-05-09 18:48:11 +10:00
|
|
|
2.25.1
|
2013-10-09 18:22:37 +11:00
|
|
|
|