Deprecate magic values

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-08-19 13:32:18 -05:00
parent d9f3848e22
commit f9bec6eadd
108 changed files with 1194 additions and 11 deletions

View File

@@ -36,6 +36,7 @@ import org.bukkit.inventory.meta.ItemMeta;
* Represents a server implementation
*/
public interface Server extends PluginMessageRecipient {
/**
* Used for all administrative messages, such as an operator using a command.
* <p>
@@ -356,7 +357,9 @@ public interface Server extends PluginMessageRecipient {
*
* @param id ID of the map to get.
* @return The MapView if it exists, or null otherwise.
* @deprecated Magic value
*/
@Deprecated
public MapView getMap(short id);
/**