Readded default onCommand on plugins

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2011-02-28 00:45:44 +00:00
parent 0a0e475f83
commit 2a6a5d5dc5

View file

@ -3,7 +3,9 @@ package org.bukkit.plugin.java;
import java.io.File;
import org.bukkit.Server;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.PluginLoader;
@ -155,4 +157,8 @@ public abstract class JavaPlugin implements Plugin {
public boolean isInitialized() {
return initialized;
}
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
return false;
}
}