Revert "Added the ability to register commands dynamically."
This reverts commit 737d6347b1d74e13191df7c521d8db30fa174c9b. Because this is *NOT* how it should be. By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
@@ -3,9 +3,6 @@ package org.bukkit.plugin;
|
||||
import java.io.File;
|
||||
import java.util.Set;
|
||||
|
||||
import org.bukkit.command.CommandDefinition;
|
||||
import org.bukkit.command.CommandMap;
|
||||
import org.bukkit.command.PluginCommand;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.event.Event.Priority;
|
||||
import org.bukkit.event.Listener;
|
||||
@@ -255,12 +252,4 @@ public interface PluginManager {
|
||||
* @return Set containing all current registered permissions
|
||||
*/
|
||||
public Set<Permission> getPermissions();
|
||||
|
||||
/**
|
||||
* Registers a plugin command dynamically.
|
||||
*
|
||||
* @param command Command definition to use
|
||||
* @param plugin Plugin to associate it with
|
||||
*/
|
||||
public void registerCommand(CommandDefinition command, Plugin plugin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user