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

Commit

Permalink
Fixed CommandExecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
shoghicp committed Apr 3, 2014
1 parent 8846780 commit 9f7a542
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ExamplePlugin/MainClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace ExamplePlugin;

use pocketmine\command\Command;
use pocketmine\command\CommandExecutor;
use pocketmine\command\CommandSender;
use pocketmine\event\Listener;
use pocketmine\event\player\PlayerRespawnEvent;
Expand All @@ -11,7 +12,7 @@
use pocketmine\Server;
use pocketmine\utils\TextFormat;

class MainClass extends PluginBase implements Listener{
class MainClass extends PluginBase implements Listener, CommandExecutor{

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

0 comments on commit 9f7a542

Please sign in to comment.