One needs to implement command executor in order to use commands.

This commit is contained in:
Christopher Nethercott 2021-02-26 12:32:27 +00:00 committed by GitHub
parent af58e675c3
commit 4b18a93b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ import org.bukkit.entity.Player;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;
public class ExamplePlugin extends JavaPlugin {
public class ExamplePlugin extends JavaPlugin implements CommandExecutor {
private static final Logger log = Logger.getLogger("Minecraft");
private static Economy econ = null;