From b8bbdcfacb40fb09abe3401c4faade41e879d01d Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 30 Mar 2014 20:15:56 +1100 Subject: [PATCH] Remove deprecation on OfflinePlayer/Player.getName --- ...deprecation-on-some-player-lookup-methods.patch | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Bukkit-Patches/0025-Remove-deprecation-on-some-player-lookup-methods.patch b/Bukkit-Patches/0025-Remove-deprecation-on-some-player-lookup-methods.patch index f74df63ad1..54702bd254 100644 --- a/Bukkit-Patches/0025-Remove-deprecation-on-some-player-lookup-methods.patch +++ b/Bukkit-Patches/0025-Remove-deprecation-on-some-player-lookup-methods.patch @@ -1,4 +1,4 @@ -From aae82a23b8f1f587e8e263a8824c7ea5ae5736ee Mon Sep 17 00:00:00 2001 +From 6ada6b20f8e3682dd430300130b43f69c35377c4 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 30 Mar 2014 15:58:22 +1100 Subject: [PATCH] Remove deprecation on some player lookup methods @@ -25,6 +25,18 @@ index 6b9c9f3..7d8736e 100644 public static List matchPlayer(String name) { return server.matchPlayer(name); } +diff --git a/src/main/java/org/bukkit/OfflinePlayer.java b/src/main/java/org/bukkit/OfflinePlayer.java +index cbf8746..7da5ab6 100644 +--- a/src/main/java/org/bukkit/OfflinePlayer.java ++++ b/src/main/java/org/bukkit/OfflinePlayer.java +@@ -24,7 +24,6 @@ public interface OfflinePlayer extends ServerOperator, AnimalTamer, Configuratio + * guaranteed to be unique + * @return Player name + */ +- @Deprecated + public String getName(); + + /** diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java index d2cb517..72ef028 100644 --- a/src/main/java/org/bukkit/Server.java