Remove depreceated register methods.
This commit is contained in:
@@ -40,16 +40,6 @@ public class PluginManager
|
||||
private final Map<String, Plugin> plugins = new HashMap<>();
|
||||
private final Map<String, Command> commandMap = new HashMap<>();
|
||||
|
||||
/**
|
||||
* @deprecated use
|
||||
* {@link #registerCommand(net.md_5.bungee.api.plugin.Plugin, net.md_5.bungee.api.plugin.Command)}
|
||||
*/
|
||||
@Deprecated
|
||||
public void registerCommand(Command command)
|
||||
{
|
||||
registerCommand( null, command );
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a command so that it may be executed.
|
||||
*
|
||||
@@ -314,16 +304,6 @@ public class PluginManager
|
||||
return event;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated see
|
||||
* {@link #registerListener(net.md_5.bungee.api.plugin.Plugin, net.md_5.bungee.api.plugin.Listener)}
|
||||
*/
|
||||
@Deprecated
|
||||
public void registerListener(Listener listener)
|
||||
{
|
||||
registerListener( null, listener );
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a {@link Listener} for receiving called events. Methods in this
|
||||
* Object which wish to receive events must be annotated with the
|
||||
|
Reference in New Issue
Block a user