mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
Readded default onCommand on plugins
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
0a0e475f83
commit
2a6a5d5dc5
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue