All previous deprecated methods removed (OH GOD EVERYTHING BROKEN)
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user