diff --git a/patches/server/0977-Add-PlayerGetRespawnLocationEvent.patch b/patches/server/0977-Add-PlayerGetRespawnLocationEvent.patch index ad7e467d56..7122fd4513 100644 --- a/patches/server/0977-Add-PlayerGetRespawnLocationEvent.patch +++ b/patches/server/0977-Add-PlayerGetRespawnLocationEvent.patch @@ -5,18 +5,10 @@ Subject: [PATCH] Add PlayerGetRespawnLocationEvent diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java -index 4d837c1530a3031a4c2a5a39d87bd013d60e14a6..4395dccb63e38289f5f158fd941615cc6a1df0c3 100644 +index 4d837c1530a3031a4c2a5a39d87bd013d60e14a6..2f07456c0ff0346b621d89bbf8d84d299daba00b 100644 --- a/src/main/java/net/minecraft/server/players/PlayerList.java +++ b/src/main/java/net/minecraft/server/players/PlayerList.java -@@ -118,7 +118,6 @@ import org.bukkit.Location; - import org.bukkit.craftbukkit.CraftServer; - import org.bukkit.craftbukkit.CraftWorld; - import org.bukkit.craftbukkit.entity.CraftPlayer; --import org.bukkit.craftbukkit.util.CraftChatMessage; - import org.bukkit.entity.Player; - import org.bukkit.event.player.PlayerChangedWorldEvent; - import org.bukkit.event.player.PlayerJoinEvent; -@@ -835,49 +834,57 @@ public abstract class PlayerList { +@@ -835,49 +835,57 @@ public abstract class PlayerList { // CraftBukkit start - fire PlayerRespawnEvent if (location == null) {