Skip to content
This repository was archived by the owner on May 24, 2018. It is now read-only.

Commit 9f7a542

Browse files
committed
Fixed CommandExecutor
1 parent 8846780 commit 9f7a542

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ExamplePlugin/MainClass.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace ExamplePlugin;
44

55
use pocketmine\command\Command;
6+
use pocketmine\command\CommandExecutor;
67
use pocketmine\command\CommandSender;
78
use pocketmine\event\Listener;
89
use pocketmine\event\player\PlayerRespawnEvent;
@@ -11,7 +12,7 @@
1112
use pocketmine\Server;
1213
use pocketmine\utils\TextFormat;
1314

14-
class MainClass extends PluginBase implements Listener{
15+
class MainClass extends PluginBase implements Listener, CommandExecutor{
1516

1617
public function onLoad(){
1718
console(TextFormat::WHITE . "[ExamplePlugin] I've been loaded!");

0 commit comments

Comments
 (0)