All previous deprecated methods removed (OH GOD EVERYTHING BROKEN)

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-03-14 15:05:46 +00:00
parent e377a96a02
commit 7e9974d53c
5 changed files with 1 additions and 57 deletions

View File

@@ -55,14 +55,6 @@ public abstract class Command {
return description;
}
/**
* @deprecated Use {@link #getDescription()}
*/
@Deprecated
public String getTooltip() {
return getDescription();
}
/**
* Gets an example usage of this command
*
@@ -94,15 +86,6 @@ public abstract class Command {
return this;
}
/**
* @deprecated Use {@link #setDescription(description)}
*/
@Deprecated
public Command setTooltip(String tooltip) {
this.description = tooltip;
return this;
}
/**
* Sets the example usage of this command
*

View File

@@ -18,15 +18,6 @@ public interface CommandSender {
*/
public boolean isOp();
/**
* Checks if this sender is a player
*
* @return true if they are
* @deprecated Use instanceof
*/
@Deprecated
public boolean isPlayer();
/**
* Returns the server instance that this command is running on
*

View File

@@ -26,7 +26,7 @@ public class PluginCommandYamlParser {
Object aliases = entry.getValue().get("aliases");
if (description != null)
newCmd.setTooltip(description.toString());
newCmd.setDescription(description.toString());
if (usage != null) {
newCmd.setUsage(usage.toString());