Deprecate some methods

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-01-14 20:43:09 +11:00
parent 1855bf0649
commit 51980b97ef
3 changed files with 15 additions and 0 deletions

View File

@@ -187,7 +187,9 @@ public final class Bukkit {
* Get the name of this server.
*
* @return the name of this server
* @deprecated not a standard server property
*/
@Deprecated
public static String getServerName() {
return server.getServerName();
}
@@ -197,7 +199,9 @@ public final class Bukkit {
* that can be used for uniquely identifying this server.
*
* @return the ID of this server
* @deprecated not a standard server property
*/
@Deprecated
public static String getServerId() {
return server.getServerId();
}